#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=637c54e7b71c81826aaac77cb686ec33543a6bf1 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 H4sIALBIyWYAA+08a3PbRpL5zF8xK8UF0CFBPe2UNrRPkR/RnSypLGV9KZ2CAoGhCAsEcBhAEncr +e3X3TODN0lpE3uvajFVNslBT09Pv6ZnuqGFcytGC/jPnjt+aMWLb/78tgXt5f4+fm6/3N+m39sv X9InfNva2nv5zfbeixc7O3t723u732xtb+9ub33Dtr4ALY2WidRJGPsaU/1/bJt/GWUiGU38cMTD OxYv0lkU7vQ2NjZ6Za1gQ/aehzxxUs6OvvuOTZNozn4BAHb80er1fhZcMIS3HOEFFmOf/CBg6cwX bMJZwu8TP015yBwJJbHit9c0E2Gz7WmWZgm3bebP4yhJWZz4YQq9oZv6UdjrqW6xED01xON3k8wP POsGkKvHNAGSIWHwm340jZK5kyIV03kqH7tRwvVjniRRIrs9J3XswAlv9LPP38sH84Ubx7pzvgj8 iezHWXV3mjihwLmaj4BOGxAo+tNF7BdTnPgiJXZ4fMrOYlyzMPsHPQZtE2H5ATP7bPiKRXEaO4ng loQ6x+8JwW185MDDUDAnRCh4yAgyYX4Iih663NroEWTMxu14zL58bjmeZ0scpjEchtEwTniaLoYk luGcg6Z4whgQdKV5XKRjQ0LbUogroB2S7tgQKYjCnjqB4O1Ip04WpOPLJOMtj2c8iMfGpxnMA4tN I+S0VFdJh1Qm5LYmpd9TnD2KwjSJAnZOug8aAZxKMhfIERoEhMlmYeRx0u9W/sSLoR/66fB0BUcW NoLY4Xo2AAErufAO2bSUDbmpqiXZcl4bLBLUP+H/m/kJGCy/48mCTX0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NkaiXc6MPp4H5a2syvPojQVXqW+Lb5c3/8qX4jTPHun3Dpl KFuYVq73WMm6TUYlUBqfLIRCpFpvy6pO/cK/seRKbPnSRYvmm5RVK7DQc8x/DWSlFg+zOV3jFShl VU6/IiEfy4e2ljiqQZmRVXOu0tNn/yjeJiyKWOTMWvdKSeAWlawi/K0qi+L1zYYYiu10lQTe0h8A iSWsulYVDISBFw/VqTf90A0yj7ONytnBmm1Ul6gSf77M2Vkql1gqjs8xooBE7LgcxEaMwgsmAi/J TqOllLl6Ws2cYwPD8MBivEpnzRi9FlssSZxsMg85SH37TUBsnrbNqqojDf3WAWWr8UioTWb8xtho xMosaWHIl4j/ICxLoyhQB/rhg5g5iSVmf+ocq//+F/75rxf1/M/e3k4X/3+NVvv7XxNHzHqbmHXB v2OC7wnTL/XnYLCKa4nCsB90wE9a/KrXEzxlw4iFURbCV/0z9mM+dfxA/+ZJgi8c93rqj5n8A2yD u7OIbWC59QH79j828p4bP6UrOj+F/v+++Onwo/3++NI+Ovvw4fiSCuEJzqhSdkB/FwZja1yOMBQY gk9h25Q312xIr7BPNZKluDxwn0bvt15vAyn7V0uva13rWte61rWuda1rXeta17rWta51rWtd61rX uta1rnWta13rWte61rWuda1rXeta17rWta79O7b/AxuCO7gAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"