#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=cda7f4a1e1d53777e0aa587745044e80b1367efb name=$(basename $0) # e.g. hello-xshar.xshar default_dir=/tmp/$name.$$ # User can override this, and then _build/oils.sh can use SKIP_REBUILD to make # it faster. Multiple runs without compiling. export XSHAR_DIR=${XSHAR_DIR:-$default_dir} change_dir() { mkdir -p "$XSHAR_DIR" cd "$XSHAR_DIR" } extract_data() { base64 -d <<'XSHAR_DATA' | tar -x -z H4sIAPHxw2cAA+08/XPbtpL9WX8Fnt0MqVSiZMeJO35Vcq7zUd8ljid2X6/j53JoErIYUySPoGzr vWn/9ttdACRBUpJzTfJu7oiZWBK5WOw3FsAiS+9GjPLMi8U0yeZOuvzm87cxtGd7e/i5s/90h37v jsf0CY/2dp8++WZnb//ZeH9//Gxn/5vxzs4TAGfjL0BLoy1E7mWMfY2h/je2ra2tXlX9bMjyRRaz WTJPrnnMk4VgcRh973giiFjG04wLHudhErMwzhM24znPNGRvCdZUg/QQtofDTLNkzlx3uoABuOuy cJ4mWc7SDBDB09gnSAUW8NurRRgFDqB2kACX0Ko+8a0XLfhAfbrlt7ytO1JldLffJcEigl6nQHrm zQdsngTQZ1p8cfNBjz2k3eTLFBDRB3RiIp+rv/jrht+n2YNxHcfQ5Ty54fGAnYXXsYeCGrATb87P AX1fyWa+9NPUmS+j8EozFCXXA5Z71+IuzP2ZggOSwvhag/ieAOxvQ5H3ei6bYJderwessnfgAj/y s+X8KolslGP/gOjdRgz8gNlatn02fA6sZfQ2nJLMHRjV7rO/TApdOBLTQcFz5oWCs0MheIYafpVl SWZbr+5T7uc8YBJ8wK6TnD0SFntEmPrUPeNkjEi7osLR4ATkCIMH5G4zBwh1oZ9cbmAGgR/MCgI/ mBEJLNkIcz7XrJxrbwS02WZulIn1COTnUxdfMskAPQKLmJWmIfExTyApvGQMBIAP7IJvsMX+gWG2 CnGVBTJYNWbfAI4SH2DJlm0r9fKZNWCWP1vEN/BlPGBP+sjP+fu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8xh1by4U7FtiSK5+mi4+8vFPGWHZy/f1v+rjxLklyJYIQ+ysJ+dHL/9XlJV0R+k485P JyCLU0rWSDTyGq98cJ5xblPO0x/o6bMyT6gnekVdbktICVCZcfmfnNSKqnvrqaC9jHVUNEIgxHF+ pxYKWC/OZbWRNK+VwsI4j3OhwLtooNY7bsEUFHMe0I3FOa5Tjj+Uk5o+tDE2g4p8AqzY1uXwtJVe netn3L8xZvv3cbSEyVH6L72GRPnFykmjeD6Hh8Vyy1EV3tYsxJqHy02Cnf9J3Zqbvm2Zjy67V7zL knv5w8wCx5ABgox0PSdJyaVFqusqQRkBlyZe9CCZ1BE1MsRWCaiFWOlG1iNxwF4fnh++PVC79QWi i/ElRI11DorP+H2Y2zv9z1UHASvoPEkiVTIzvBczL3PE7PNtMHyzcf9nvNes/9578qzb//karbb/ c+WJWW8bq64xj0VDpF9qOYBRaoXBsB908kpbmc97PcFzNkwgpi1i+Kp/pmEKM3kY6d9g32jRvZ5K Zv8Jxs79WcK2cNV0wL79t63iyXWYUxFcmMPz/zz76fCD++b43D16/+7d8TltaxCcZVJ2QOsCXPkj O8JSYAg+DSEToR1QNqTYN9VIVuIKkphbvd97vS2k7F+tva51rWtd61rXuta1rnWta13rWte61rWu da1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWu/X9r/w1L77A9AHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"