#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=1cbbe70194bed8bff15152d17cac85d4e47a5d73 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 H4sIAO6KgmYAA+08/XPbNrL9WX8Fzm6GVCrRn/kYXZWc63zU7xzHE7vX1/GpHJqEJMYUyUdQtnU3 7d9+uwuAJChKcq5J7s0cMZNIIheLxe5isR+AF96N2Dk7OfufI1fMryeZl06ddPHNZ2270J4eHuLn 3rMne/R779kz+oT2ZPfg4Ju9w6eH8O3J/tODb3b39nef7n/Ddj8vGc1tLnIvY+xrDPX/sW1tbXUW jTrQwVfjLJkx1x3P83nGXZeFszTJcpZmYZzD09jPwyTuSLDreRgFGiIO44+eG4XXlXdO8VBDRcmk x47fvzs/OX394cL929GHk6Ozy4tOx2VDfNnpbLPL96/eD5iYJnPAPvVuOQt4yuOAx37IBbsL8ym8 da/D2MsWnQ8/nb6+cM9/gf4WDbpDg/azecRFP104Ymp1Op2Aj9kZvniLs7WzeXfQYdBi6JfNHZgS /oJvfjKb8Ti3rbc85pmX84BdL9gjYbFHwJfYmwFXugW0J4II55cBKbZFfMX/6LlVgvm+IrcC42bz OA8BXc5FDhBWj6CNBhMXwytrZ2e28NN0R/WwRg2gMy/PwvvhMm8VFdsMB2UwvTSMeNaRfcKYpoTM I5rwiUXviM0J8N22XMlXUhg5vUdiJ8+8WETAHye/z5E5BbIu8wQbDzrVScAAV1EYc0cAlandZeMk Y/iAhTEbjySJacbH4T3S4k54TCPtPBIOzd0YgaCTeZ7Oc8KsOn7HLOIjq/yeWiMpZ4cmYateJgMt GK6fhJHoA1n9eRze14SBUzCfgD5HoR/mIB0U7Y6Y3oF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