#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=298ec0f626e10680f9f3dc4e229c16618f2c0fa3 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 H4sIANa+H2cAA+08/XPbtpL9WX8Fnt0MqVSibMeJO35Vcq7zUd85jid2X67jczm0CFmMKZJHkLb1 3rR/++0uAJIgKcl+bfJu7oiZRBK4WCz2Cwvs0gvvRowW8J8794LISRbf/PltC9re8+f4ub33fJt+ b+/t0Sd829ra3ftme3dva2/v2d72i61vtra3n22/+IZtfQFaGi0XmZcy9jWm+t/YNv8yykU6ugqi EY9uWbLIZnG009vY2OhVtYIN2Tse8dTLODv87js2TeM5+wUA2NFHp9f7WXDBEN7xhB86jH0KwpBl s0CwK85SfpcGWcYj5kkoiRW/vaKZCJvrTvMsT7nrsmCexGnGkjSIMuiNJlkQR72e6hYL0VNDfH57 lQeh71wDcvWYJkAyJAx+04+mcTr3MqRiOs/k40mccv2Yp2mcym7fyzw39KJr/ezz9/LBfDFJEt05 X4TBlezHWXV3lnqRwLmaj4BOFxAo+rNFEpRTHAciI3b4fMo+JLhmYff3ewzaJsLyfWb32fAli5Ms 8VLBHQl1it9Tgtv4yIGHkWBehFDwkBFkyoIIFD2acGejR5AJG7fjsfvyueP5vitx2NZwGMXDJOVZ thiSWIZzDpriC2tA0EbzucjGloR2pRBXQHsk3bElMhCFO/VCwduRTr08zMbnac5bHs94mIytTzOY Bxabxchpqa6SDqlMyG1NSr+nOHsYR1kah+yUdB80AjiV5hMgR2gQECabRbHPSb9b+ZMshkEUZMOT FRxZuAjiRuvZAASs5MJbZNNSNhSmqpbkynldsEhQ/5T/dx6kYLD8lqcLNg146JfcOJ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N6QXUqnEGj8IJ3Gjkm4cyNkaiVc6GAZ4H5a1s6u4RW8qvEp9Ony5 vv9VvhCnefZWuXXKULUwrZrvX8m6TUYlMBqfLIRBpFpvq6pO/SK4duRKXFl036L5NmVVSiz0HPMf A1mpw6N8Ttd4JUpZldE3JBRg+cjWEkc1qDLSNGeTnj77R/k2YVnEIGfWuldJAraopInwN1MW5eub DTGU2+kqCbyhPwCSSFh1rSoYCAMvGMypN4NoEuY+ZxvGGcGZbZhLVImfQOZsHJVLqhRHFxhRQCLx JhzERozCiyQCr8hOo6WUqXpqZk6xgWH4YDG+0VkzRr/FFisSJ5ssQg5S334TEJuvbdNUdaSh3zqg ajU+CbXJjN8YG41YlSUtDPkS8R+EZVkch+rgPrwXMy91xOxPnWP13//CP//1op7/2X2+1cX/X6PV /v7XlSdmvU3MuuDfMcH3hOmX+nMwWMWzRGHYDzrgJy1+2esJnrFhzKI4j+Cr/pkECZ96Qah/8zTF F457PfXHTP4BtsEns5htYLntPvv23zaKnusgo6u4IIP+/zz76eCj++7o3D388P790TkVQhOcZVK2 T38XBmNrXI6wFBiCT2HblDfUbEivsE81kqW4fHCfVu+3Xm8DKftXS69rXeta17rWta51rWtd61rX uta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rv1/bP8DRudG8AB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"