#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=d793ff6b9bcdec45a76f87cdc14ba36c9cdcbe21 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 H4sIACG9F2cAA+08/XPbtpL9WX8Fnt0MqVSibMeJO35Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuCtvfyJX5u773cpt/b e3v0Cd+2tnb3vtne3dt6uffi1Q72b2+/2Nn9hm19AVoaLROpkzD2Nab639g2/zLKRDKa+OGIh3cs XqSzKNzpbWxs9MpawYbsAw954qScHX73HZsm0Zz9AgDs6Nzq9X4WXDCEtxzhBRZjn/wgYOnMF2zC WcLvEz9NecgcCSWx4rc3NBNhs+1plmYJt23mz+MoSVmc+GEKvaGb+lHY66lusRA9NcTjd5PMDzzr BpCrxzQBkiFh8Jt+NI2SuZMiFdN5Kh+7UcL1Y54kUSK7PSd17MAJb/Szz9/LB/OFG8e6c74I/Ins x1l1d5o4ocC5mo+AThsQKPrTRewXUxz7IiV2eHzKTmNcszD7+z0GbRNh+T4z+2z4mkVxGjuJ4JaE OsPvCcFtnHPgYSiYEyIUPGQEmTA/BEUPXW5t9AgyZuN2PGZfPrccz7MlDtMYDsNoGCc8TRdDEstw zkFTPGEMCLrSPC7SsSGhbSnEFdAOSXdsiBREYU+dQPB2pFMnC9LxZZLxlsczHsRj49MM5oHFphFy WqqrpEMqE3Jbk9LvKc4eRmGaRAE7I90HjQBOJZkL5AgNAsJkszDyOOl3K3/ixdAP/XR4soIjCxtB 7HA9G4CAlVx4j2xayobcVNWSbDmvDRYJ6p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rXRIVpMEWb /mqeUDpEpG38AFVdzg3phVQqscYPwkncKKUbB3K2RuKVDoY+3oel7ezKb9GbCq9SnxZfru9/lS/E aZ69V26dMlQtTCvn+1eybpNRCYzGJwthEKnW27KqU7/wbyy5ElsW3bdovklZlQILPcf8x0BW6vAw m9M1XoFSVmX0KxLysXxka4mjGpQZWTXnKj199o/ibcKiiEHOrHWvlARsUckqwt+qsihe32yIodhO V0ngHf0BkFjCqmtVwUAYeMFQnXrTD90g8zjbqJwRrNlGdYkq8ePLnI2lckml4ugcIwpIxI7LQWzE KLxIIvCS7DRaSpmqp9XMKTYwDA8sxqt01ozRa7HFksTJJvOQg9S33wTE5mnbrKo60tBvHVC2Go+E 2mTGb4yNRqzMkhaGfIn4D8KyNIoCdXAfPoiZk1hi9qfOsfrvf+Gf/3pVz//svnzVxf9fo9X+/tfE EbPeJmZd8O+Y4HvC9Ev9ORis4lmiMOwHHfCTFr/u9QRP2TBiYZSF8FX/jP2YTx0/0L95kuALx72e +mMm/wDb4O4sYhtYbrvPvv23jbznxk/pKs5Pof8/L346OLc/HF3ah6cfPx5dUiE0wRlVyvbp78Jg bI3LEYYCQ/ApbJvyhpoN6RX2qUayFJcH7tPo/dbrbSBl/2rpda1rXeta17rWta51rWtd61rXuta1 rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1/4/tfwB2MtYYAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"