#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=8461f5e0fe1cf957806296919f023138d3b9187a 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 H4sIAGA0IWcAA+08/XPbtpL9WX8Fnt0MqVSibMdJOnpVcq7zUd85tid2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv00rkRoyX8Zy8cP7Ti5Td/ftuB9vL5c/zcffl8l37v vnxJn/BtZ2f/5Te7+y93d/aeQTfA7e4+2939hu18AVoaLROpkzD2Nab639i2/zLKRDKa+uGIh7cs XqbzKNzrbW1t9cpawYbsPQ954qScHX73HZsl0YL9AgDs6KPV6/0suGAIbznCCyzGPvlBwNK5L9iU s4TfJX6a8pA5EkpixW+vaSbCZtuzLM0SbtvMX8RRkrI48cMUekM39aOw11PdYil6aojHb6eZH3jW NSBXj2kCJEPC4Df9aBYlCydFKmaLVD52o4TrxzxJokR2e07q2IETXutnn7+XDxZLN45152IZ+FPZ j7Pq7jRxQoFzNR8BnTYgUPSny9gvpjj2RUrs8PiMnca4ZmH2xz0GbRth+ZiZfTZ8xaI4jZ1EcEtC neH3hOC2PnLgYSiYEyIUPGQEmTA/BEUPXW5t9QgyZpN2PGZfPrccz7MlDtMYDsNoGCc8TZdDEstw wUFTPGEMCLrSPC7SiSGhbSnENdAOSXdiiBREYc+cQPB2pDMnC9LJRZLxlsdzHsQT49Mc5oHFphFy WqqrpEMqE3Jbk9LvKc4eRmGaRAE7I90HjQBOJZkL5AgNAsJk8zDyOOl3K3/i5dAP/XR4soYjSxtB 7HAzG4CAtVx4h2xayYbcVNWSbDmvDRYJ6p/w/878BAyW3/Jky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5Ib2QSiXW+EE4iRuldONAztZIvNLB0Mf7sLSdXfktelPhVerT4qv1/a/yhTjN s3fKrVOGqoVp5Xz/WtZtMyqB0fhkIQwi1XpbVnXqF/61JVdiy6L7Fs03KatSYKHnmP8YyEodHmYL usYrUMqqjH5FQj6Wj+yscFSDMiOr5lylp8/+UbxNWBQxyJm17pWSgC0qWUX4W1UWxeubDTEU2+k6 CbylPwASS1h1rSoYCAMvGKpTb/uhG2QeZ1uVM4I136ouUSV+fJmzsVQuqVQcnWNEAYnYcTmIjRiF F0kEXpKdRkspU/W0mjnFBobhgcV4lc6aMXottliSONlkHnKQ+vabgNg8bZtVVUca+q0DylbjkVCb zPiNsdGIlVnSwpAvEf9BWJZGUaAO7sN7MXcSS8z/1DnW//0v/PNfL+r5n/39Z138/zVa7e9/TR0x 721j1gX/jgm+J0y/1J+DwSqeFQrDftABP2nxq15P8JQNIxZGWQhf9c/Yj/nM8QP9mycJvnDc66k/ ZvIPsA3uziO2heW2Y/btv23lPdd+Sldxfgr9/3n+08FH+/3RhX14+uHD0QUVQhOcUaVsTH8XBmNr XI4wFBiCz2DblDfUbEivsM80kpW4PHCfRu+3Xm8LKftXS69rXeta17rWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rv1/bP8DALgKOwB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"