#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=10813117171c8e9f0057548bf4818a59fd3dbe53 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 H4sIAB4RGWcAA+08/XPbtpL9WX8Fnt0MqVSibMdJOnpVcq7zUd85tid2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv00rkRoyX8Zy8cP7Ti5Td/ftuB9vL5c/zcffl8l37v vnxJn/BtZ2f/5Te7+y93Xuzt7uy9hOe7u8929r5hO1+AlkbLROokjH2Nqf43tu2/jDKRjKZ+OOLh LYuX6TwK93pbW1u9slawIXvPQ544KWeH333HZkm0YL8AADv6aPV6PwsuGMJbjvACi7FPfhCwdO4L NuUs4XeJn6Y8ZI6Ekljx22uaibDZ9ixLs4TbNvMXcZSkLE78MIXe0E39KOz1VLdYip4a4vHbaeYH nnUNyNVjmgDJkDD4TT+aRcnCSZGK2SKVj90o4foxT5Iokd2ekzp24ITX+tnn7+WDxdKNY925WAb+ VPbjrLo7TZxQ4FzNR0CnDQgU/eky9ospjn2REjs8PmOnMa5ZmP1xj0HbRlg+ZmafDV+xKE5jJxHc klBn+D0huK2PHHgYCuaECAUPGUEmzA9B0UOXW1s9gozZpB2P2ZfPLcfzbInDNIbDMBrGCU/T5ZDE Mlxw0BRPGAOCrjSPi3RiSGhbCnENtEPSnRgiBVHYMycQvB3pzMmCdHKRZLzl8ZwH8cT4NId5YLFp hJyW6irpkMqE3Nak9HuKs4dRmCZRwM5I90EjgFNJ5gI5QoOAMNk8jDxO+t3Kn3g59EM/HZ6s4cjS RhA73MwGIGAtF94hm1ayITdVtSRbzmuDRYL6J/y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