#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=81eb7d89b0bcd46ff1ddaf28e8ca7d8607f2f686 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 H4sIAH3HL2cAA+08a3PjNpL5rF+BtTNFaiJRfo5T3mjmHM8jvvPYLtvZuZTPYdEkZHFMkTyCtK3d Sn77dTcAviXZm8zs1R1RNSMJbDQa/UID3fTcuROjOfxnzxw/tOL5N39+24C2t7uLn5t7u5v0e3Nv jz7h28bGzt43mzt7m9t7O9s729vfbGxubm9uf8M2vgAtjZaJ1EkY+xpT/W9s638ZZSIZ3fjhiIf3 LJ6n0yjc6q2trfXKWsGG7AMPeeKknB1+9x2bJNGM/QIA7Ojc6vV+FlwwhLcc4QUWY5/8IGDp1Bfs hrOEPyR+mvKQORJKYsVvb2gmwmbbkyzNEm7bzJ/FUZKyOPHDFHpDN/WjsNdT3WIuemqIx+9vMj/w rFtArh7TBEiGhMFv+tEkSmZOilRMZql87EYJ1495kkSJ7Pac1LEDJ7zVzz5/Lx/M5m4c687ZPPBv ZD/OqrvTxAkFztV8BHTagEDRn85jv5ji2BcpscPjE3Ya45qF2d/vMWjrCMv3mdlnw9csitPYSQS3 JNQZfk8Ibu2cAw9DwZwQoeAhI8iE+SEoeuhya61HkDEbt+Mx+/K55XieLXGYxnAYRsM44Wk6H5JY hjMOmuIJY0DQleZxkY4NCW1LIS6Bdki6Y0OkIAp74gSCtyOdOFmQji+TjLc8nvIgHhufpjAPLDaN kNNSXSUdUpmQ25qUfk9x9jAK0yQK2BnpPmgEcCrJXCBHaBAQJpuGkcdJv1v5E8+Hfuinw5MlHJnb CGKHq9kABCzlwntk00I25KaqlmT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