#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=2beda2d2d998aa7477465f8178347a230e020466 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 H4sIABGCGmcAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuC9mpvDz+3X+1t0+/t V6/oE75tbe2++mZ799XWy70t+Pfim63t7RfbW9+wrS9AS6NlInUSxr7GVP8b2+ZfRplIRhM/HPHw jsWLdBaFO72NjY1eWSvYkH3gIU+clLPD775j0ySas18AgB2dW73ez4ILhvCWI7zAYuyTHwQsnfmC TThL+H3ipykPmSOhJFb89oZmImy2Pc3SLOG2zfx5HCUpixM/TKE3dFM/Cns91S0WoqeGePxukvmB Z90AcvWYJkAyJAx+04+mUTJ3UqRiOk/lYzdKuH7MkyRKZLfnpI4dOOGNfvb5e/lgvnDjWHfOF4E/ kf04q+5OEycUOFfzEdBpAwJFf7qI/WKKY1+kxA6PT9lpjGsWZn+/x6BtIizfZ2afDV+zKE5jJxHc klBn+D0huI1zDjwMBXNChIKHjCAT5oeg6KHLrY0eQcZs3I7H7MvnluN5tsRhGsNhGA3jhKfpYkhi Gc45aIonjAFBV5rHRTo2JLQthbgC2iHpjg2RgijsqRMI3o506mRBOr5MMt7yeMaDeGx8msE8sNg0 Qk5LdZV0SGVCbmtS+j3F2cMoTJMoYGek+6ARwKkkc4EcoUFAmGwWRh4n/W7lT7wY+qGfDk9WcGRh I4gdrmcDELCSC++RTUvZkJuqWpIt57XBIkH9E/7fmZ+AwfI7nizY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NDeiGVSqzxg3ASN0rpxoGcrZF4pYOhj/dhaTu78lv0psKr1KfFl+v7X+UL cZpn75VbpwxVC9PK+f6VrNtkVAKj8clCGESq9bas6tQv/BtLrsSWRfctmm9SVqXAQs8x/zGQlTo8 zOZ0jVeglFUZ/YqEfCwf2VriqAZlRlbNuUpPn/2jeJuwKGKQM2vdKyUBW1SyivC3qiyK1zcbYii2 01USeEd/ACSWsOpaVTAQBl4wVKfe9EM3yDzONipnBGu2UV2iSvz4MmdjqVxSqTg6x4gCErHjchAb MQovkgi8JDuNllKm6mk1c4oNDMMDi/EqnTVj9FpssSRxssk85CD17TcBsXnaNquqjjT0WweUrcYj oTaZ8RtjoxErs6SFIV8i/oOwLI2iQB3chw9i5iSWmP2pc6z++1/4579e1vM/u7s7Xfz/NVrt739N HDHrbWLWBf+OCb4nTL/Un4PBKp4lCsN+0AE/afHrXk/wlA0jFkZZCF/1z9iP+dTxA/2bJwm+cNzr qT9m8g+wDe7OIraB5bb77Nt/28h7bvyUruL8FPr/8+Kng3P7w9GlfXj68ePRJRVCE5xRpWyf/i4M xta4HGEoMASfwrYpb6jZkF5hn2okS3F54D6N3m+93gZS9q+WXte61rWuda1rXeta17rWta51rWtd 61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd+//Y/gejqHr7AHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"