#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=60762ae16ac5a45e6fbbe5a46ea7849bc6e8be42 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 H4sIAPLyEmcAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuC9mpvDz+3X+1t0+/t V6/oE75tbe2++mZ799XW7t6r7Z3tl99sbW+/2N7+hm19AVoaLROpkzD2Nab639g2/zLKRDKa+OGI h3csXqSzKNzpbWxs9MpawYbsAw954qScHX73HZsm0Zz9AgDs6Nzq9X4WXDCEtxzhBRZjn/wgYOnM F2zCWcLvEz9NecgcCSWx4rc3NBNhs+1plmYJt23mz+MoSVmc+GEKvaGb+lHY66lusRA9NcTjd5PM DzzrBpCrxzQBkiFh8Jt+NI2SuZMiFdN5Kh+7UcL1Y54kUSK7PSd17MAJb/Szz9/LB/OFG8e6c74I /Insx1l1d5o4ocC5mo+AThsQKPrTRewXUxz7IiV2eHzKTmNcszD7+z0GbRNh+T4z+2z4mkVxGjuJ 4JaEOsPvCcFtnHPgYSiYEyIUPGQEmTA/BEUPXW5t9AgyZuN2PGZfPrccz7MlDtMYDsNoGCc8TRdD EstwzkFTPGEMCLrSPC7SsSGhbSnEFdAOSXdsiBREYU+dQPB2pFMnC9LxZZLxlsczHsRj49MM5oHF phFyWqqrpEMqE3Jbk9LvKc4eRmGaRAE7I90HjQBOJZkL5AgNAsJkszDyOOl3K3/ixdAP/XR4soIj CxtB7HA9G4CAlVx4j2xayobcVNWSbDmvDRYJ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