#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=261ae32d74f3d23276b9662ad31f0133b71b8c9b 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 H4sIAKSzv2cAA+08/XPbtpL9WX8Fnt0MqVSi5I/UGb0qOdf5qO8cxxO7r9fxczk0CVmMKZJHULb1 3rR/++0uAJKgKMm5Jnk3d8RMLIlcLPYbC2CRhXcrBnnmxWKSZDMnXXzz+dsQ2vf7+/i5c/Bsh37v Dof0CY/2d5/tfbOzf/Ds4GBv59kQ3u/s7O0dfMOGX4CWpTYXuZcx9jWG+t/Ytra2OlX1sz7L51nM psksueExT+aCxWH03PFEELGMpxkXPM7DJGZhnCdsynOeacjOAqypBukhbAeHmWTJjLnuZA4DcNdl 4SxNspylGSCCp7FPkAos4HfX8zAKHEDtIAEuoVV94jsvmvOe+nTLb3lTd6TK6G6/S4J5BL3OgPTM m/XYLAmgz6T44ua9DntMu80XKSCiD+jERD5Tf/HXLX9Is0fjOo6hy0Vyy+MeOw9vYg8F1WOn3oxf APquks1s4aepM1tE4bVmKEpueiz3bsR9mPtTBQckhfGNBvE9AdhPQpF3Oi4bY5dOpwOssnfgAj/y 88XsOolslGN3RPRuIwY+YraWbZf1XwBrGb0NJyRzB0a1u+wv40IXjsQ0KnjOvFBwdigEz1DDr7Ms yWzr9UPK/ZwHTIL32E2SsyfCYk8IU5e6Z5yMEWlXVDganIAcYfCA3G3mAKEu9ZOrDcwg8KNZQeBH MyKBJRthzmealQvtjYA228yNMrEOgfx85uJLJhmgR2AR09I0JD7mCSSFl4yBAPCBXfANttgdGWar EFdZIINVY3YN4CjxAZZs2bZSL59aPWb503l8C1+GPbbXRX4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