#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=c0ce1425fe30f9b8922c1d5d31d2df193a3afbe7 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 H4sIAGIdhGYAA+08/XPbNrL9WX8Fzm6GVCrRH3E+Rlcl5zof9TvH9sTu9XV8KocmIYkxRfIRlG3d Tfu33+4CIAmKkpxrknszR8wkksjFYrG7WOwH4IV3I3ZOj0//59AV8+tJ5qVTJ11881nbLrRnBwf4 uff86R793nv+nD6hPd198uSbvYNnB3u7ewAGz/f2Af4btvt5yWhuc5F7GWNfY6j/j21ra6uzaNSB Dr4aZ8mMue54ns8z7rosnKVJlrM0C+McnsZ+HiZxR4Jdz8Mo0BBxGH/03Ci8rrxziocaKkomPXZ0 9v78+OTNhwv3b4cfjg9PLy86HZcN8WWns80uz16fDZiYJnPAPvVuOQt4yuOAx37IBbsL8ym8da/D 2MsWnQ8/nby5cM9/gf4WDbpDg/azecRFP104Ymp1Op2Aj9kpvniHs7WzeXfQYdBi6JfNHZgS/oJv fjKb8Ti3rXc85pmX84BdL9gjYbFHwJfYmwFXugW0J4II55cBKbZFfMX/6LlVgvm+IrcC42bzOA8B Xc5FDhBWj6CNBhMXwytrZ2e28NN0R/WwRg2gMy/PwvvhMm8VFdsMB2UwvTSMeNaRfcKYpoTMI5rw iUXviM0J8N22XMlXUhg5vUdiJ8+8WETAHye/z5E5BbIu8wQbDzrVScAAV1EYc0cAlandZeMkY/iA hTEbjySJacbH4T3S4k54TCPtPBIOzd0YgaCTeZ7Oc8KsOn7HLOIjq/yeWiMpZ4cmYateJgMtGK6f hJHoA1n9eRze14SBUzCfgD5HoR/mIB0U7Y6Y3oFi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