#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=8708bb64b32ecab8643df8148bf0ba622fae01a1 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 H4sIAKYKMWcAA+08a3PbRpL5zF8xK8UF0CFBSZbtFDe0T5Ef0Z0sqSxlfSkdg4KAoQgLBHAYQBJ3 K/nt190zgzdJaRN7r+4wVTbx6Onp6df0TDe0dG7EaAn/2QvHD614+c2f33agvXz+HH93Xz7fpfvd ly/pF652dvZffrO7/3J3f2/n+e7O/jc7u7vPdna+YTtfgJZGy0TqJIx9jaH+N7btv4wykYyu/HDE w1sWL9N5FO71tra2emWtYEP2noc8cVLODr/7js2SaMF+AQB29NHq9X4WXDCEtxzhBRZjn/wgYOnc F+yKs4TfJX6a8pA5EkpixavXNBJhs+1ZlmYJt23mL+IoSVmc+GEKT0M39aOw11OPxVL0VBeP315l fuBZ14BcvaYBkAwJg1f61SxKFk6KVMwWqXztRgnXr3mSRIl87DmpYwdOeK3fff5evlgs3TjWDxfL wL+Sz3FU/ThNnFDgWM1XQKcNCBT96TL2iyGOfZESOzw+Y6cxzlmY/XGPQdtGWD5mZp8NX7EoTmMn EdySUGd4nRDc1kcOPAwFc0KEgpeMIBPmh6DoocutrR5BxmzSjsfsy/eW43m2xGEaw2EYDeOEp+ly SGIZLjhoiieMAUFXmsdFOjEktC2FuAbaIelODJGCKOyZEwjejnTmZEE6uUgy3vJ6zoN4Ynyawzgw 2TRCTkt1lXRIZUJua1L6PcXZwyhMkyhgZ6T7oBHAqSRzgRyhQUCYbB5GHif9buVPvBz6oZ8OT9Zw ZGkjiB1uZgMQsJYL75BNK9mQm6qaki3HtcEiQf0T/t+Z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hRSjcO5GiNxCttDH08D0vb2ZWfojcVXqU+Lb5a3/8qP4jT PHun3DplqFqYVs73r2XdNqMSGI1PFsIgUq23ZVWn58K/tuRMbFl036L5JmVVCiz0HvMfA1mpw8Ns Qcd4BUpZldGvSMjH8pGdFY5qUGZk1Zyr9PTZP4qvCYsiBjmy1r1SErBFJasIf6vKovh8syGGYjld J4G39AdAYgmrjlUFA2HgAUN16G0/dIPM42yrskew5lvVKarEjy9zNpbKJZWKo3OMKCAROy4HsRGj 8CCJwEuy02gpZareVjOn2MAwPLAYr/KwZoxeiy2WJE42mYccpL79JiA2T9tmVdWRhn5rh7LVeCTU JjN+Y2w0YmWWtDDkS8R/EJalURSojfvwXsydxBLzP3WM9X//C//814t6/mf/2V4X/3+NVvv7X1eO mPe2MeuCf8cEvxOmO/XnYLCKZ4XCsB90wE9a/KrXEzxlw4iFURbCpb6N/ZjPHD/Q9zxJ8IPjXk/9 MZN/gG1wdx6xLSy3HbNv/20rf3Ltp3QU56fw/D/Pfzr4aL8/urAPTz98OLqgQmiCM6qUjenvwmBs jdMRhgJD8Bksm/KEmg3pE/aZRrISlwfu0+j91uttIWX/aul1rWtd61rXuta1rnWta13rWte61rWu da1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rX/j+1/AOc/9WQAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"