#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=32476ddc152dd6821e42b889ccb9bf5889687b81 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 H4sIAK3DEmcAA+08/XPbNrL9WX8Fzm6GVCpRtmM3HV+VPNf5qN9zbI/tXl7H53IoErIYUyQfQdrW 3bR/+9tdAPyWZF+b3M0dMZNIAheLxX5hgV164dyK0QL+s+eOH1rx4qs/vm1Be7m3h5/bL/e26ff2 y5f0Cd+2tnZffrW9+3Jrd293e29756ut7e0XW3tfsa3PQEujZSJ1Esa+xFT/im3zT6NMJKOJH454 eMfiRTqLwp3exsZGr6wVbMje85AnTsrZ4TffsGkSzdnPAMCOzq1e7yfBBUN4yxFeYDH20Q8Cls58 wSacJfw+8dOUh8yRUBIrfntNMxE2255maZZw22b+PI6SlMWJH6bQG7qpH4W9nuoWC9FTQzx+N8n8 wLNuALl6TBMgGRIGv+lH0yiZOylSMZ2n8rEbJVw/5kkSJbLbc1LHDpzwRj/79J18MF+4caw754vA n8h+nFV3p4kTCpyr+QjotAGBoj9dxH4xxbEvUmKHx6fsNMY1C7O/32PQNhGW7zOzz4avWBSnsZMI bkmoM/yeENzGOQcehoI5IULBQ0aQCfNDUPTQ5dZGjyBjNm7HY/blc8vxPFviMI3hMIyGccLTdDEk sQznHDTFE8aAoCvN4yIdGxLalkJcAe2QdMeGSEEU9tQJBG9HOnWyIB1fJhlveTzjQTw2Ps5gHlhs GiGnpbpKOqQyIbc1Kf2e4uxhFKZJFLAz0n3QCOBUkrlAjtAgIEw2CyOPk3638ideDP3QT4cnKziy sBHEDtezAQhYyYV3yKalbMhNVS3JlvPaYJGg/gn/v8xPwGD5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SjcO5GyNxCsdDH28D0vb2ZXfojcVXqU+Lb5c3/8sX4jT PHun3DplqFqYVs73r2TdJqMSGI1PFsIgUq23ZVWnfuHfWHIltiy6b9F8k7IqBRZ6jvmPgazU4WE2 p2u8AqWsyuhXJORj+cjWEkc1KDOyas5Vevrs78XbhEURg5xZ614pCdiiklWEv1ZlUby+2RBDsZ2u ksBb+gMgsYRV16qCgTDwgqE69aYfukHmcbZROSNYs43qElXix5c5G0vlkkrF0TlGFJCIHZeD2IhR eJFE4CXZabSUMlVPq5lTbGAYHliMV+msGaPXYosliZNN5iEHqW+/CYjN07ZZVXWkod86oGw1Hgm1 yYxfGRuNWJklLQz5HPEfhGVpFAXq4D58EDMnscTsD51j9d//wj//9W09/7P74mUX/3+JVvv7XxNH zHqbmHXBv2OC7wnTL/XnYLCKZ4nCsO91wE9a/KrXEzxlw4iFURbCV/0z9mM+dfxA/+ZJgi8c93rq j5n8HWyDu7OIbWC57T77+r828p4bP6WrOD+F/v+9+PHg3H5/dGkfnn74cHRJhdAEZ1Qp26e/C4Ox NS5HGAoMwaewbcobajakV9inGslSXB64T6P3a6+3gZT9s6XXta51rWtd61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWtf+E9v/A0hmGlwAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"