#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=0c7f85b5bf0a0839d2f98c5657be2342592c0265 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 H4sIADt6ImcAA+08/XPbtpL9WX8Fnt0MqVSibMeJO35Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuCtvfyJX5u773cpt/b e3v0Cd+2tnb3vtne3duGz929nd1vtra3X2zvfsO2vgAtjZaJ1EkY+xpT/W9sm38ZZSIZTfxwxMM7 Fi/SWRTu9DY2NnplrWBD9oGHPHFSzg6/+45Nk2jOfgEAdnRu9Xo/Cy4YwluO8AKLsU9+ELB05gs2 4Szh94mfpjxkjoSSWPHbG5qJsNn2NEuzhNs28+dxlKQsTvwwhd7QTf0o7PVUt1iInhri8btJ5gee dQPI1WOaAMmQMPhNP5pGydxJkYrpPJWP3Sjh+jFPkiiR3Z6TOnbghDf62efv5YP5wo1j3TlfBP5E 9uOsujtNnFDgXM1HQKcNCBT96SL2iymOfZESOzw+ZacxrlmY/f0eg7aJsHyfmX02fM2iOI2dRHBL Qp3h94TgNs458DAUzAkRCh4ygkyYH4Kihy63NnoEGbNxOx6zL59bjufZEodpDIdhNIwTnqaLIYll OOegKZ4wBgRdaR4X6diQ0LYU4gpoh6Q7NkQKorCnTiB4O9KpkwXp+DLJeMvjGQ/isfFpBvPAYtMI OS3VVdIhlQm5rUnp9xRnD6MwTaKAnZHug0YAp5LMBXKEBgFhslkYeZz0u5U/8WLoh346PFnBkYWN IHa4ng1AwEouvEc2LWVDbqpqSbac1waLBPVP+H9nfg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02CK Nv3VPKF0iEjb+AGqupwb0gupVGKNH4STuFFKNw7kbI3EKx0MfbwPS9vZld+iNxVepT4tvlzf/ypf iNM8e6/cOmWoWphWzvevZN0moxIYjU8WwiBSrbdlVad+4d9YciW2LLpv0XyTsioFFnqO+Y+BrNTh YTana7wCpazK6Fck5GP5yNYSRzUoM7JqzlV6+uwfxduERRGDnFnrXikJ2KKSVYS/VWVRvL7ZEEOx na6SwDv6AyCxhFXXqoKBMPCCoTr1ph+6QeZxtlE5I1izjeoSVeLHlzkbS+WSSsXROUYUkIgdl4PY iFF4kUTgJdlptJQyVU+rmVNsYBgeWIxX6awZo9diiyWJk03mIQepb78JiM3TtllVdaSh3zqgbDUe CbXJjN8YG41YmSUtDPkS8R+EZWkUBergPnwQMyexxOxPnWP13//CP//1qp7/2d191cX/X6PV/v7X xBGz3iZmXfDvmOB7wvRL/TkYrOJZojDsBx3wkxa/7vUET9kwYmGUhfBV/4z9mE8dP9C/eZLgC8e9 nvpjJv8A2+DuLGIbWG67z779t42858ZP6SrOT6H/Py9+Oji3Pxxd2oenHz8eXVIhNMEZVcr26e/C YGyNyxGGAkPwKWyb8oaaDekV9qlGshSXB+7T6P3W620gZf9q6XWta13rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWtf+P7X8ASeNkigB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"