#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=6336049ae758c2ec77381d51e4c2fd7210f2d328 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 H4sIACHEImcAA+08/XPbtpL9WX8Fnt0MqVSibMeOO35Vcq7zUd85tid2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuCtr+3h5/b+3vb9Ht7 f58+4dvW1u7+N9u7+9tbe7vbL/dffrO1vf1ie+8btvUFaGm0TKROwtjXmOp/Y9v8yygTyWjihyMe 3rF4kc6icKe3sbHRK2sFG7L3POSJk3J29N13bJpEc/YLALDjj1av97PggiG85QgvsBj75AcBS2e+ YBPOEn6f+GnKQ+ZIKIkVv72mmQibbU+zNEu4bTN/HkdJyuLED1PoDd3Uj8JeT3WLheipIR6/m2R+ 4Fk3gFw9pgmQDAmD3/SjaZTMnRSpmM5T+diNEq4f8ySJEtntOaljB054o599/l4+mC/cONad80Xg T2Q/zqq708QJBc7VfAR02oBA0Z8uYr+Y4sQXKbHD41N2FuOahdk/6DFomwjLD5jZZ8NXLIrT2EkE tyTUOX5PCG7jIwcehoI5IULBQ0aQCfNDUPTQ5dZGjyBjNm7HY/blc8vxPFviMI3hMIyGccLTdDEk sQznHDTFE8aAoCvN4yIdGxLalkJcAe2QdMeGSEEU9tQJBG9HOnWyIB1fJhlveTzjQTw2Ps1gHlhs GiGnpbpKOqQyIbc1Kf2e4uxRFKZJFLBz0n3QCOBUkrlAjtAgIEw2CyOPk3638ideDP3QT4enKziy sBHEDtezAQhYyYV3yKalbMhNVS3JlvPaYJGg/gn/78xPwGD5HU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