#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=4bf347f9f218210ce61a150f0a4b65b1d92282b6 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 H4sIAH7OPGcAA+08/VPjxpL52X/FPMiW5I0tAwu7KV68e4T9CHcsUEDeXoojKlkaYy2ypNNIgN+r 5G+/7p4ZfduGl+y+uzpNFdiSenp6+mt6plteOLditIB/9tzxQytefPPnty1or/b28HP71d42XW+/ ekWf8G1ra/fVN9u7r7Zfwb+tF7vfbG1vv9je+YZtfQFaGi0TqZMw9jWG+t/YNv8yykQymvjhiId3 LF6ksyjc6W1sbPTKWsGG7AMPeeKknB1+9x2bJtGc/QIA7Ojc6vV+FlwwhLcc4QUWY5/8IGDpzBds wlnC7xM/TXnIHAklseK3NzQSYbPtaZZmCbdt5s/jKElZnPhhCndDN/WjsNdTt8VC9FQXj99NMj/w rBtArh7TAEiGhMFv+tE0SuZOilRM56l87EYJ1495kkSJvO05qWMHTnijn33+Xj6YL9w41jfni8Cf yPs4qr6dJk4ocKzmI6DTBgSK/nQR+8UQx75IiR0en7LTGOcszP5+j0HbRFi+z8w+G75mUZzGTiK4 JaHO8HtCcBvnHHgYCuaECAUPGUEmzA9B0UOXWxs9gozZuB2P2ZfPLcfzbInDNIbDMBrGCU/TxZDE Mpxz0BRPGAOCrjSPi3RsSGhbCnEFtEPSHRsiBVHYUycQvB3p1MmCdHyZZLzl8YwH8dj4NINxYLJp hJyW6irpkMqE3Nak9HuKs4dRmCZRwM5I90EjgFNJ5gI5QoOAMNksjDxO+t3Kn3gx9EM/HZ6s4MjC RhA7XM8GIGAlF94jm5ayITdVNSVbjmuDRYL6J/y/Mz8B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