#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=a57e88efb5dde14339ba1dbbabc76509639d1ba7 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 H4sIABWSomYAA+08+3PbxtH5mX/FVYoHoEOC1Mv2sKFdRX5ErS1rLKVpRp+CgYCjCAsEUDwksZ3k b+/u3h2AA0BSbmL3mxY3Y5EE9vb29nW7e3deOjfpKEucMJ1FycKKl1/9/m0M7cn+Pn7uPD3Yod87 T5/SJ3zb3z3Y+2pn/8nB+GBn/HRv76vxzs7e/pOv2Pgz0NJoeZo5CWNfYqj/j21ra6tXFT8bsixP QjaPFtE1D3mUpyz0g2eWk3oBS3ic8JSHmR+FzA+ziM15xhMF2VuCNtUgHYTt4TCzJFow257lMAC3 beYv4ijJWJwAIngaugQpwTx+e5X7gWcBagsJsAmt7BPeOkHOB/LTLr9lbd2RKq27+S7y8gB6nQLp ibMYsEXkQZ9Z8cXOBj32kHaTLWNARB/QiaXZQv7FXzf8Pk4ejOs4hC7n0Q0PB+zMvw4dZNSAnTgL fg7o+5I3i6Ubx9ZiGfhXakJBdD1gmXOd3vmZO5dwQJIfXisQ10kB+1s/zXo9m02xS6/Xg6myd2AC 3/Gz5eIqCkzkY39C9G4jBj5hpuJtnw2fw9QSeuvPiOcWjGr22R+mhSwsgWlSzDlx/JSzwzTlCUr4 VZJEiWm8uo+5m3GPCfABu44y9ig12CPC1KfuCSdlRNolFZYCJyAr1eaAs9s8A4S6UE8uN0wGgR88 FQR+8EQEsJiGn/GFmsq5skZAm2yejVSxHoH8cGrjSyYmQI9AI+alagh8zEmRFF5ODBiAD8xi3qCL /YmmthJxdQqksHLMvgYcRC7Aki6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