#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=5b023518622885fed19900295170dc413ff6fa33 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 H4sIAJWAmGYAA+08a3PbRpL5zF8xK8UF0CFBvWyntKF9ivyI7mRZZSnrS+kUFEQMRVgggMMMJHG3 kt9+3T0zeJOUNrH3qhZTZROPnp6efk3PdEML70aMFvCfO/eCyEkW3/z5bQvai2fP8Hf7xbNtut9+ 8YJ+4Wpra+/FN9t7z/eew+X27t43W9vbu1vb37CtL0BLo2VCeiljX2Oo/49t8y+jTKSjqyAa8eiW JQs5i6Od3sbGRq+sFWzI3vGIp57k7PC779g0jefsFwBgRx+dXu9nwQVDeMcTfugw9ikIQyZngWBX nKX8Lg2k5BHzFJTCilevaCTC5rrTTGYpd10WzJM4lSxJg0jC02gigzjq9fRjsRA93cXnt1dZEPrO NSDXr2kAJEPB4JV5NY3TuSeRiulcqteTOOXmNU/TOFWPfU96buhF1+bd5+/Vi/likiTm4XwRBlfq OY5qHsvUiwSO1XwFdLqAQNMvF0lQDHEcCEns8PmUfUhwzsLu7/cYtE2E5fvM7rPhSxYnMvFSwR0F dYrXKcFtfOTAw0gwL0IoeMkIMmVBBIoeTbiz0SPIhI3b8dh99d7xfN9VOGxrOIziYZJyKRdDEstw zkFTfGENCLrSfC7k2FLQrhLiCmiPpDu2hARRuFMvFLwd6dTLQjk+TzPe8nrGw2RsfZrBODBZGSOn lboqOpQyIbcNKf2e5uxhHMk0Dtkp6T5oBHAqzSZAjjAgIEw2i2Kfk3638idZDIMokMOTFRxZuAji RuvZAASs5MJbZNNSNuSmqqfkqnFdsEhQ/5T/bxakYLD8lqcLNg146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