#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=ae9ce6f3e2c0034d5ace46a15ddbf6b34192d226 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 H4sIANyqN2cAA+08/XPbtpL9WX8Fnt0MqVSibMeOO35Vcq7zUd85tid2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuCtr+3h5/b+3vb9Ht7 f58+4dvW1u7+N9u7+9t7+zt72/tb32xtb7/YfvEN2/oCtDRaJlInYexrTPW/sW3+ZZSJZDTxwxEP 71i8SGdRuNPb2NjolbWCDdl7HvLESTk7+u47Nk2iOfsFANjxR6vX+1lwwRDecoQXWIx98oOApTNf sAlnCb9P/DTlIXMklMSK317TTITNtqdZmiXctpk/j6MkZXHihyn0hm7qR2Gvp7rFQvTUEI/fTTI/ 8KwbQK4e0wRIhoTBb/rRNErmTopUTOepfOxGCdePeZJEiez2nNSxAye80c8+fy8fzBduHOvO+SLw J7IfZ9XdaeKEAudqPgI6bUCg6E8XsV9MceKLlNjh8Sk7i3HNwuwf9Bi0TYTlB8zss+ErFsVp7CSC WxLqHL8nBLfxkQMPQ8GcEKHgISPIhPkhKHrocmujR5AxG7fjMfvyueV4ni1xmMZwGEbDOOFpuhiS WIZzDpriCWNA0JXmcZGODQltSyGugHZIumNDpCAKe+oEgrcjnTpZkI4vk4y3PJ7xIB4bn2YwDyw2 jZDTUl0lHVKZkNualH5PcfYoCtMkCtg56T5oBHAqyVwgR2gQECabhZHHSb9b+RMvhn7op8PTFRxZ 2Ahih+vZAASs5MI7ZNNSNuSmqpZky3ltsEhQ/4T/d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DbL8/lNFUeJInuY1UWEa TNGmv5onlA4RaRs/QFWXc0N6IZVKrPGDcBI3SunGgZytkXilg6GP92FpO7vyW/SmwqvUp8WX6/tf 5QtxmmfvlFunDFUL08r5/pWs22RUAqPxyUIYRKr1tqzq1C/8G0uuxJZF9y2ab1JWpcBCzzH/MZCV OjzM5nSNV6CUVRn9ioR8LB/ZWuKoBmVGVs25Sk+f/aN4m7AoYpAza90rJQFbVLKK8LeqLIrXNxti KLbTVRJ4S38AJJaw6lpVMBAGXjBUp970QzfIPM42KmcEa7ZRXaJK/PgyZ2OpXFKpODrHiAISseNy EBsxCi+SCLwkO42WUqbqaTVzig0MwwOL8SqdNWP0WmyxJHGyyTzkIPXtNwGxedo2q6qONPRbB5St xiOhNpnxG2OjESuzpIUhXyL+g7AsjaJAHdyHD2LmJJaY/alzrP77X/jnv17W8z+7u3td/P81Wu3v f00cMettYtYF/44JvidMv9Sfg8EqniUKw37QAT9p8ateT/CUDSMWRlkIX/XP2I/51PED/ZsnCb5w 3OupP2byD7AN7s4itoHltgfs23/byHtu/JSu4vwU+v/z4qfDj/b740v76OzDh+NLKoQmOKNK2QH9 XRiMrXE5wlBgCD6FbVPeULMhvcI+1UiW4vLAfRq933q9DaTsXy29rnWta13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17r2/7H9D5ZuoQAAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"