#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=58c653371999b2908bfdfa9cfd54cfa59925766c 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 H4sIAD3rzGYAA+08a3PbOJLzWb8Ca0+KVEain8mkvKPkPM5jfJc4rtizc1M+D4smIYsxRfIIyLZ2 a+a3X3cDIAmKkpydJFtXS1TFkshGo19odDeAzIMbsXVyfPKfh76YXV0XQT7x8vk3n7VtQ3u6v0+f 0JqfT7b39r7Z2X/6dG/n6ZO9vaffbO/sPd1/8g3b/rxktLeZkEHB2DdFlslVcOve/z9tGxsbvXmr DfTw1bjIpsz3xzM5K7jvs3iaZ4VkeRGnEp6moYyztKfArmZxEhmINE4/Bn4SX9XeeeVDA5Vk1wN2 9P7d6fHbVx/O/L8dfjg+PDk/6/V8NsKXvd4mO3//8v0BE5NsBtgnwS1nEc95GvE0jLlgd7GcwFv/ Kk6DYt778PPbV2f+6a/Q36FBt2jQYTFLuBjmc09MnF6vF/ExO8EXb5Bbt5j1D3oMWgr9ipkHLOEv +BZm0ylPpeu84SkvAskjdjVnj4TDHoFc0mAKUumX0IGIEuSvAFJch+SKf+i5U4GFoSa3BuMXs1TG gE5yIQHCGRC01YBxMbpwtram8zDPt3QP57IFdBrIIr4fLcpWU7HJcFAG7OVxwoue6hOnxBIKj2jC Jw69IzFnIHfX8ZVcyWAUe4/EliyCVCQgH0/eSxROiazPAsHGB706EzDARRKn3BNAZe722TgrGD5g ccrGl4rEvODj+B5p8a95SiNtPRIe8W6NQNDZTOYzSZh1x++YQ3Jktd8T51Lp2SMmXN3LFqADww2z OBFDIGs4S+P7hjKQBfsJ2HMSh7EE7aBqt8TkDgxL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UGRXH63p/nI2zdnh2cu3zaN+Fcgv pbNCHlRhj50cv32mqKrpT8eKONkhMgcTlTwE2aQiS/h7+i8aXL1o1o6FAyDJ8Lzges//lNDQ7/6g RFp10TjMoevq5LqigcoR1WHIRvGlt2RkOuf+p0Y2vhMWAH6nMwwsNHH1Px8ou1wqZVwgcBEVuIkF 9nDHHVi7Us4j2uqcYoJz/KFaDc1tP+sCQRmIgPm7po5GNbR6kDDh4Y0VJrxPkzmsqmri02uIsF8s XW3K51N4WOZpni4NOZMY6z+Xlk7+rF1M/3nV2NW9ttDK1PW0jFRNT/2ww8xtCDFBluY/jCFp+pQF +74WqOXRaWXHKaqiRqJG+fA6AQ0fruap80gcsNeH54dvD/QpxBLRxfYluKVVHgCf8ftYujv97i74 v0WL+K3MskT/hw7DezEJCk9MPusYq+t/WP572qj/7e/u7nf1v6/RGvW/q0BMepv4v25hHoN+gn7p dBAXmyUGw34wyQuddXre6wku2TCDpWmWwlfzM49ziOTixPwG94MOp9fTycw/wBfxcJKxDcyaD9i3 /7FRPrmOJf0XLbGE5/999tPhB//N8bl/9P7du+NzKmsRnGNTdkB5IVZ+kB3haDAEH8cQiVIFnA1p CRsbJEtxRVnKnd7vvd4GUvav1l7Xuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1 rnWta13rWte61rWuda1rXft3bP8H5M3cggB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"