#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=57b0b186a91f4ac6802ec45bd90be137cbf26375 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 H4sIADs5fGcAA+08a3PbOJLzWb8Ca0+KVEai/MpkyjtKzuM8xruO44o9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JNk7Se6qjqhKJIGNRqNfaKCbXng3YrSA/9y5F0ROsvjm87ctaM+fPcPP7efPtun3 ztYWfeKj51vff7O993z3+dbu3u4u9G9v725tf8O2vgAtjZaLzEsZ+xpT/V9sm38Z5SIdXQXRiEe3 LFlkszja6W1sbPRMrWBD9pZHPPUyzg6/+45N03jOfgUAdvTB6fV+EVwwhHc84YcOYx+DMGTZLBDs irOU36VBlvGIeRJKYsVvL2kmwua60zzLU+66LJgncZqxJA2iDHqjSRbEUa+nusVC9NQQn99e5UHo O9eAXD2mCZAMCYPf9KNpnM69DKmYzjP5eBKnXD/maRqnstv3Ms8NvehaP/v0g3wwX0ySRHfOF2Fw JftxVt2dpV4kcK7mI6DTBQSK/myRBOUUx4HIiB0+n7L3Ca5Z2P39HoO2ibB8n9l9NnzB4iRLvFRw R0Kd4veU4DY+cOBhJJgXIRQ8ZASZsiACRY8m3NnoEWTCxu147L587ni+70octjUcRvEwSXmWLYYk luGcg6b4whoQdKX5XGRjS0K7UogroD2S7tgSGYjCnXqh4O1Ip14eZuPzNOctj2c8TMbWxxnMA4vN YuS0VFdJh1Qm5LYmpd9TnD2MoyyNQ3ZKug8aAZxK8wmQIzQICJPNotjnpN+t/EkWwyAKsuHJCo4s XARxo/VsAAJWcuENsmkpGwpTVUty5bwuWCSof8r/Ow9SMFh+y9MF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