#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=1ecd98ebebc426e9f6b6454fa36eeb30186ccc01 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 H4sIAHiPImcAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuC9mpvDz+3X+1t0+/t V6/oE75tbe2++mZ799X21t7Wq92dl99sbW+/2N76hm19AVoaLROpkzD2Nab639g2/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 CxtB7HA9G4CAlVx4j2xayobcVNWSbDmvDRYJ6p/w/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06I/CSzLUNaWErF0ElAeiQZbff6ooShzJ07wmKkyD Kdr0V/OE0iEibeMHqOpybkgvpFKJNX4QTuJGKd04kLM1Eq90MPTxPixtZ1d+i95UeJX6tPhyff+r fCFO8+y9cuuUoWphWjnfv5J1m4xKYDQ+WQiDSLXellWd+oV/Y8mV2LLovkXzTcqqFFjoOeY/BrJS h4fZnK7xCpSyKqNfkZCP5SNbSxzVoMzIqjlX6emzfxRvExZFDHJmrXulJGCLSlYR/laVRfH6ZkMM xXa6SgLv6A+AxBJWXasKBsLAC4bq1Jt+6AaZx9lG5YxgzTaqS1SJH1/mbCyVSyoVR+cYUUAidlwO YiNG4UUSgZdkp9FSylQ9rWZOsYFheGAxXqWzZoxeiy2WJE42mYccpL79JiA2T9tmVdWRhn7rgLLV eCTUJjN+Y2w0YmWWtDDkS8R/EJalURSog/vwQcycxBKzP3WO1X//C//818tS/L+H+Z/d3e0u/v8a rfb3vyaOmPU2MeuCf8cE3xOmX+rPwWAVzxKFYT/ogJ+0+HWvJ3jKhhELoyyEr/pn7Md86viB/s2T BF847vXUHzP5B9gGd2cR28By23327b9t5D03fkpXcX4K/f958dPBuf3h6NI+PP348eiSCqEJzqhS tk9/FwZja1yOMBQYgk9h25Q31GxIr7BPNZKluDxwn0bvt15vAyn7V0uva13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta79f2z/A+R1tjMAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"