#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=155d375d20c4a9d6ce96b7e906300f95ddc3b382 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 H4sIAHxZtmYAA+08a3PbRpL5zF8xK8UF0CFBSZbslDa0T5Ef0Z0sqSRlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN7r2oxVTbx6Onp6df0TDe0cG7FaAH/2XPHD6148c2f37agvdrbw9/tV3vbdL/9 6hX9wtXW1u6rb7Z3X+7t7e7t7r7a/WZre/vFzu43bOsL0NJomUidhLGvMdT/x7b5l1EmktHED0c8 vGPxIp1F4U5vY2OjV9YKNmQfeMgTJ+Xs8Lvv2DSJ5uwXAGBH51av97PggiG85QgvsBj75AcBS2e+ YBPOEn6f+GnKQ+ZIKIkVr97QSITNtqdZmiXctpk/j6MkZXHihyk8Dd3Uj8JeTz0WC9FTXTx+N8n8 wLNuALl6TQMgGRIGr/SraZTMnRSpmM5T+dqNEq5f8ySJEvnYc1LHDpzwRr/7/L18MV+4cawfzheB P5HPcVT9OE2cUOBYzVdApw0IFP3pIvaLIY59kRI7PD5lpzHOWZj9/R6DtomwfJ+ZfTZ8zaI4jZ1E cEtCneF1QnAb5xx4GArmhAgFLxlBJswPQdFDl1sbPYKM2bgdj9mX7y3H82yJwzSGwzAaxglP08WQ xDKcc9AUTxgDgq40j4t0bEhoWwpxBbRD0h0bIgVR2FMnELwd6dTJgnR8mWS85fWMB/HY+DSDcWCy aYScluoq6ZDKhNzWpPR7irOHUZgmUcDOSPdBI4BTSeYCOUKDgDDZLIw8Tvrdyp94MfRDPx2erODI wkYQO1zPBiBgJRfeI5uWsiE3VTUlW45rg0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w0Ta xg9Q1eXckF5IpZJr/CCcxI1SunkgR2sk3mnD6ON5WNrOrjyL0lR4lfq2+HJ9/6v8IE7z7L1y65Sh bGFaud5jJes2GZVAaXyyEAqRar0tqzo9F/6NJWdiy48uWjTfpKxagYXeY/5rICu1eJjN6RivQCmr cvoVCflYPrS1xFENyoysmnOVnj77R/E1YVHEIkfWuldKAreoZBXhb1VZFJ9vNsRQLKerJPCO/gBI LGHVsapgIAw8eKgOvemHbpB5nG1U9g7WbKM6RZX482XOzlK5xFJxfI4RBSRix+UgNmIUHjAReEl2 Gi2lzNXbauYcGxiGBxbjVR7WjNFrscWSxMkm85CD1LffBMTmadusqjrS0G/tULYaj4TaZMZvjI1G rMySFoZ8ifgPwrI0igK1oR8+iJmTWGL2p46x+u9/4Z//elnP/+zuvezi/6/Ran//a+KIWW8Tsy74 d0zwO2G6U38OBqu4ligM+0EH/KTFr3s9wVM2jFgYZSFc6tvYj/nU8QN9z5MEPzju9dQfM/kH2AZ3 ZxHbwHLrffbtf2zkT278lI7o/BSe//fFTwfn9oejS/vw9OPHo0sqhCc4o0rZPv1dGIytcTrCUGAI PoVlU55csyF9wj7VSJbi8sB9Gr3fer0NpOxfLb2uda1rXeta17rWta51rWtd61rXuta1rnWta13r Wte61rWuda1rXeta17rWta51rWtd61rXuvbv2P4PRqPqgQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"