#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=5cc8b1b5b272670aa0bfa9f37eb643fcf55b8d90 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 H4sIAJxKiWcAA+08a3PbOJLzWb8Ca0+KVEaibMcZT3lHyXmcx3g3cVy2Z3NTPg+LFiGLMUXyCNK2 dmvmt193AyDBhyR7J8ld1RFViSSw0Wj0Cw100wvvRowW8J8794LISRbffP62BW3v+XP83N57vk2/ d7a26BMf7W19/8327t7uzs7u8629Z99sbW8/23r+Ddv6ArQ0Wi4yL2Xsa0z1f7Ft/mWUi3R0FUQj Ht2yZJHN4mint7Gx0TO1gg3ZWx7x1Ms4O/zuOzZN4zn7FQDY0anT6/0iuGAI73jCDx3GPgZhyLJZ INgVZym/S4Ms4xHzJJTEit9e0kyEzXWneZan3HVZME/iNGNJGkQZ9EaTLIijXk91i4XoqSE+v73K g9B3rgG5ekwTIBkSBr/pR9M4nXsZUjGdZ/LxJE65fszTNE5lt+9lnht60bV+9ukH+WC+mCSJ7pwv wuBK9uOsujtLvUjgXM1HQKcLCBT92SIJyineBSIjdvh8yj4kuGZh9/d7DNomwvJ9ZvfZ8AWLkyzx UsEdCXWC31OC2zjlwMNIMC9CKHjICDJlQQSKHk24s9EjyISN2/HYffnc8XzflThsaziM4mGS8ixb DEkswzkHTfGFNSDoSvO5yMaWhHalEFdAeyTdsSUyEIU79ULB25FOvTzMxudpzlsez3iYjK2PM5gH FpvFyGmprpIOqUzIbU1Kv6c4exhHWRqH7IR0HzQCOJXmEyBHaBAQJptFsc9Jv1v5kyyGQRRkw+MV HFm4COJG69kABKzkwhtk01I2FKaqluTKeV2wSFD/lP93Hq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40K02CKtvrVPKFMiMja+AGqupwb0gGpLGKNH4STuGFkGgdytkbOlQ4zAV6FZe3sKi7Qmwqv sp4OX67vf5UvW2mevVEenZJTLUwzU/0rWbfJqPpF45M1MIhU662p6tQvgmtHrsSV9fYtmm9TQqXE Qs8x9TGQRTo8yud0g1eilAUZ/YqEAqwc2VriqAYmI6vmXKWnz/5VvqlW1i/ImbXuGfm/FpWsIvy9 Kovylb+GGMqddJUEXtPffkgkrLpRFQyEgYfi6tSbQTQJc5+zjUpM7sw2qktUOZ9ApmsclUYy6qIL jCggkXgTDmIjRuFFEIEbstNoKVuqnlaTptjAMHywGL/SWTNGv8UWDYmTTRbRBqlvvwmIzde2WVV1 pKHfOsC0Gp+E2mTG74yNRsxkSQtDvlj8B2FZFsehOjIP78XMSx0x+6xzrPn7T1u7zfzP7s5eF/9/ jVb7+09Xnpj1NjHrgn/HAl9EpV/qz4FgFc8ShWE/6oCfVPlFryd4xoYxi+I8gq/6ZxIkfOoFof7N 0xTfaO311B+z+BcYCJ/MYraB5bb77Nv/2Ch6roOMLsGCDPr/8+zng1P37dG5e/jh/fujcyqEJjir Stk+/V0QDLBxOcJSYAg+hb1TXjOzIb37PNVIluLywYdavd97vQ2k7H9bel3rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd+//W/gc94AWpAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"