#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=ccdcfcfe08f4c4c15efc6710d658a7fe5ef4c28e 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 H4sIAB4KzWcAA+07a3PbRpL5zF8xK8UF0CFBSZYfxQ3tU+RHtGvLKkvZXEqnoCBgKMICARwGlMTd Sn77dffMABgAJKVL7LuqxVTZIoGenn5Pd89w6V2LkeuGcZi7rpMuv/kCYwfGs/19/Lv7/Okufd/b 2aG/anyzu//82ZO9nf1nz59+s7O7u/N05xu28yWIqY+FyL2Msa+x1P/HsUT9X/HY9dP0C6l/k/73 n+0/r+l/B8E6/X+FsbW11SvVz4YsX2QxQ6twPBFELONpxgWPcy8Pk5iFcZ6ww+++6+G8aZbMmetO FzCHuy4L52mS5SzNAAqexj5O6SmwgN9cLsIocGA1B/G7hF/NsU+y5Crz5gM2TwKAnRYfXD5g1/ky 5YMeu88g2GKSmw/YsTfnZ4iAiXyey//d+6IjYJh0FMN/1/wuzQg3fcj7krf5EqSnOZkvo/Cy8tyh B/pt7l2J2zD3ZwMWJVdKNkBoGF9pEN8Tea/nsomE6IEM2DseIwc2QA7YtD8m2rdxIh8zu+CUlnJ+ zsKcZ302fMmOk5j3CPinExegACn8Tw+AillJDmLuM0/g6nxciCac0gO1AndACv2xIbipc4vL2Rbo 3Or3inc8qs89zbNVc38Ir+Dt4/Xz34eivrjkCAUmoQhmoHjtt6+FIN9b5suKeJ0zFHD71Jc1CquS wpF5oeDsQAieoeW/ybIkI8GWWjzxwMjtNiWWVrpGi5rQ1FGW0DMIZI8E/GOpEwOyyqpvwFptNNk2 45GmvMl4EApkjX/azAefr7Mf6Tgt9qPwkg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A48yyQU ZrZO07/so3A1aAWRd5JXAEBMKhrn7a9hM8CKNnCpp9iEKaaPih8dNYE0khH1+upN5SqAWEKifafQ tMpiwEqO2uRiRtrGSrUQX77X/rC9DYUc5Bj6HKDSC1LRJea3qkWhHmSURSO0uR5uRVA6T6ymfZaW LssO/PcthNKX7FuIGSaagAsfgq7su8pNwITutxOWebeu75vhWPvFaMajKHEBhE510LdVVkzvN8wr 5xgBtyD6XC5diYx16Zxbq9BWN8cy8m4WoZ63QhiaxvOSw1rgtjCmDmn/adJvUnOf0K+iu0WcWRT1 dfjVYdza2rLWxW9tekmmI7gMW/2LVRpvjeUlx18uqK1KcfB+5J9T93RDjoDf5EkSKZcZ3omZl0GO /KeuseH8f2e/Wf/tP3na1X9fY9TO/y89MettY9WF5xjYiKBv6jhomxy01WDY97oapN86vOz1BM/Z MGFxsojho/6ahimfemGkv/Msw45Gr6cOM/4Ffs79WcK28NRszL79j63iyVWY0yYY5vD8P09/PPjk vjs6cyHWfDg6o2NtgrNMysZ0LoQnv8iOsBQYgk/DOJBpJhtS72uqkazEFSQxt3q/9XpbSNn/tfa6 0Y1udKMb3ehGN7rRjW50oxvd6EY3utGNbnSjG93oRje60Y1udKMb3ehGN7rRjW50oxvd6EY3uvHv Nv4Hsu1K0wB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"