#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=7a055c0c524ce39abbffd2ae2d42f331fa5e8cfe 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 H4sIALSCmGYAA+08a3PbRpL5zF8xK8UF0CFBSZbtlDa0T5Ef0Z0tqSRlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S0ib2XtViqiQSQE9PT7+mZ7rBhXcjRgv45869IHKSxTd/ftuC9vL5c/zcfvl8m663 X76kT/i2tbX78pvt3Re7L7a3trdfPvsG/j/bev4N2/oCtDRaJqSXMvY1hvr/2Db/MspEOroKohGP blmykLM42ultbGz0ylrBhuw9j3jqSc4OvvuOTdN4zn4BAHZ46vR6PwsuGMI7nvBDh7FPQRgyOQsE u+Is5XdpICWPmKegFFb89ppGImyuO81klnLXZcE8iVPJkjSIJNyNJjKIo15P3xYL0dNdfH57lQWh 71wDcv2YBkAyFAx+M4+mcTr3JFIxnUv1eBKn3DzmaRqn6rbvSc8NvejaPPv8vXowX0ySxNycL8Lg St3HUc1tmXqRwLGaj4BOFxBo+uUiCYohPgRCEjt8PmXHCc5Z2P29HoO2ibB8j9l9NnzF4kQmXiq4 o6BO8HtKcBunHHgYCeZFCAUPGUGmLIhA0aMJdzZ6BJmwcTseu6+eO57vuwqHbQ2HUTxMUi7lYkhi Gc45aIovrAFBV5rPhRxbCtpVQlwB7ZF0x5aQIAp36oWCtyOdelkox+dpxlsez3iYjK1PMxgHJitj 5LRSV0WHUibktiGl39OcPYgjmcYhOyHdB40ATqXZBMgRBgSEyWZR7HPS71b+JIthEAVyeLSCIwsX QdxoPRuAgJVceIdsWsqG3FT1lFw1rgsWCeqf8v/NghQMl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aiTE/QfK4oSR/I0r40K02CK Mf3VPKF0iJBt/ABVXc4N5YV0KrHGD8JJ3CilGwdqtEbilTaMAZ6HyXZ25afoTYXXqU+HL9f3v6oX 4gzP3mm3ThmqFqaV8/0rWbfJqATG4FOFMIjU6G1Z1em+CK4dNRNXFd23aL5NWZUCCz3H/MdAVerw KJvTMV6BUlVl9CsSCrB8ZGuJoxqUGVk15yo9ffaP4m3CoohBjWx0r5QEbFHJKsLfqrIoXt9siKFY TldJ4C39AEiiYPWxqmAgDDx4qA69GUSTMPM526jsHZzZRnWKOvETqJyNo3NJpeLoHCMKSCTehIPY iFF4wETgJdkZtJQy1U+rmVNsYBg+WIxfuVkzRr/FFksSJ5vMQw5S334TEJtvbLOq6khDv7VD2Wp8 EmqTGb8xNhqxMktaGPIl4j8Iy2Qch3pDP7wXMy91xOxPHWP173/hz3+9KMX/O5j/2X32oov/v0ar /f7XlSdmvU3MuuDvmOB7wnSlfw4Gq3iWKAz7wQT8pMWvej3BJRvGLIqzCL6ayyRI+NQLQnPN0xRf OO719I+Z/ANsg09mMdvActs99u1/bOR3rgNJR3SBhPv/ffbT/qn7/vDcPTj++PHwnAqhCc6qUrZH vwuDsTVOR1gaDMGnsGyqk2s2pFfYpwbJUlw+uE+r91uvt4GU/aul17Wuda1rXeta17rWta51rWtd 61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rX/h3b/wEuWU+iAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"