#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=fce1aa0f644dd1bb11d8d468b466fad97e2c60f1 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 H4sIAFbDymYAA+08a3PbRpL5zF8xK8UF0CFBSZbslDa0T5Ef0Z0sqSRlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN7r2oxVTbx6Onp6df0TDe0cG7FaAH/2XPHD6148c2f37agvdrbw9/tV3vbdL/9 6hX9wtXW1u6rb7Z3X77c2dvd3t2G99vbL7ZefsO2vgAtjZaJ1EkY+xpD/X9sm38ZZSIZTfxwxMM7 Fi/SWRTu9DY2NnplrWBD9oGHPHFSzg6/+45Nk2jOfgEAdnRu9Xo/Cy4YwluO8AKLsU9+ELB05gs2 4Szh94mfpjxkjoSSWPHqDY1E2Gx7mqVZwm2b+fM4SlIWJ36YwtPQTf0o7PXUY7EQPdXF43eTzA88 6waQq9c0AJIhYfBKv5pGydxJkYrpPJWv3Sjh+jVPkiiRjz0ndezACW/0u8/fyxfzhRvH+uF8EfgT +RxH1Y/TxAkFjtV8BXTagEDRny5ivxji2BcpscPjU3Ya45yF2d/vMWibCMv3mdlnw9csitPYSQS3 JNQZXicEt3HOgYehYE6IUPCSEWTC/BAUPXS5tdEjyJiN2/GYffnecjzPljhMYzgMo2Gc8DRdDEks wzkHTfGEMSDoSvO4SMeGhLalEFdAOyTdsSFSEIU9dQLB25FOnSxIx5dJxltez3gQj41PMxgHJptG yGmprpIOqUzIbU1Kv6c4exiFaRIF7Ix0HzQCOJVkLpAjNAgIk83CyOOk3638iRdDP/TT4ckKjixs BLHD9WwAAlZy4T2yaSkbclNVU7LluDZYJKh/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zW+iwjSYok1/NU8oHSbS Nn6Aqi7nhvRCKpVc4wfhJG6U0s0DOVoj8U4bRh/Pw9J2duVZlKbCq9S3xZfr+1/lB3GaZ++VW6cM ZQvTyvUeK1m3yagESuOThVCIVOttWdXpufBvLDkTW3500aL5JmXVCiz0HvNfA1mpxcNsTsd4BUpZ ldOvSMjH8qGtJY5qUGZk1Zyr9PTZP4qvCYsiFjmy1r1SErhFJasIf6vKovh8syGGYjldJYF39AdA YgmrjlUFA2HgwUN16E0/dIPM42yjsnewZhvVKarEny9zdpbKJZaK43OMKCAROy4HsRGj8ICJwEuy 02gpZa7eVjPn2MAwPLAYr/KwZoxeiy2WJE42mYccpL79JiA2T9tmVdWRhn5rh7LVeCTUJjN+Y2w0 YmWWtDDkS8R/EJalURSoDf3wQcycxBKzP3WM1X//C//818t6/md3d6uL/79Gq/39r4kjZr1NzLrg 3zHB74TpTv05GKziWqIw7Acd8JMWv+71BE/ZMGJhlIVwqW9jP+ZTxw/0PU8S/OC411N/zOQfYBvc nUVsA8ut99m3/7GRP7nxUzqi81N4/t8XPx2c2x+OLu3D048fjy6pEJ7gjCpl+/R3YTC2xukIQ4Eh +BSWTXlyzYb0CftUI1mKywP3afR+6/U2kLJ/tfS61rWuda1rXeta17rWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWtd69q/Y/s/Yq5jzQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"