#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=ad1a8768db0fd33dff648c0c7eefb40e6b958c0e 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 H4sIAHO5oWYAA+08/XPbNrL9WX8Fzm6GVCpR/kqT0VXJc52P+i5xPLF7fR0/l0OTkMWYIvkIyrbu pv3b3+4CIAmSkpxrk3tzR8zEksjFYrFf2F0AWXo3YpRnXiymSTZ30uVXf3zbgfbtwQF+7j59sku/ d58+pU/4drD3ZP+r3YNvn+zs7x8cPN35amd3d//Jzlds5zPQ0mgLkXsZY19iqP+PbWtrq1cVPxuy fJHFbJbMk2se82QhWBxGzxxPBBHLeJpxweM8TGIWxnnCZjznmYbsLUGbapAewvZwmGmWzJnrThcw AHddFs7TJMtZmgEieBr7BKnAAn57tQijwAHUDhLgElrVJ771ogUfqE+3/Ja3dUeqjO72uyRYRNDr FEjPvPmAzZMA+kyLL24+6LGHtJt8mQIi+oBOTORz9Rd/3fD7NHswruMYupwnNzwesLPwOvaQUQN2 4s35OaDvK97Ml36aOvNlFF7pCUXJ9YDl3rW4C3N/puCApDC+1iC+JwD721DkvZ7LJtil1+vBVNk7 MIHv+dlyfpVENvKxPyZ6txEDHzNb87bPhs9hahm9DafEcwdGtfvsT5NCFo7ENC7mnHmh4OxQCJ6h hF9lWZLZ1qv7lPs5D5gEH7DrJGePhMUeEaY+dc84KSPSrqhwNDgBOcKYA85u8wwQ6kI/udwwGQR+ 8FQQ+METkcByGmHO53oq59oaAW22eTZKxXoE8uOpiy+ZnAA9Ao2Ylaoh8TFPICm8nBgwAB/YxbxB F/tjQ20V4uoUSGHVmH0DOEp8gCVdtq3Uy2fWgFn+b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wkKM1Ll5Qwhhi PSxvZ1exC9FUeHX1weGr9f3PckNE8+y1cut0Qr2FadX7PmtZt83oCpzGJy/CIVKtt1VVp+civHbk TFz5n260aL5Np6pLLPQezz8P5E09Hi/mVMYrUcpbWX1DQiFeH9tZ4agGVUaa5mzS02f/KHeTyktM cmSte5VLAC0qaSL81ZRFuX3XEEO5nK6TwCs6AJZKWFVWFQyEgYUHc+jtMPajRcDZlpE7OLMtc4rq gE8oz2w76ghN5T9HKDCigETq+RzERozCAhOBV2Sn0dKVCfXWvDmBDQwjAIsJjIc1YwxabLEicbLJ IuQg9e03AbEF2jZNVUca+q0dqlYTkFCbzPiVsdGIVVnSwpDPEf9R/K/PB36mBGBD/I+tfv5758mT Lv7/Eg3C8jxJIlXQGd6LmZc5YvaHjrH+/D8e//+2vv93cLDXyf9LtNr5/ytPzHrbuOuG5xjxnAD9 UsdB8bDJCoVh3+mEj7zY815P8JwNExYnixi+6p9pmPKpF0b6N88yPHDQ66nDjP8A38j9WcK28NTs mH39X1vFk+swpxJtmMPz/z774fCD++b43D16/+7d8Tkdayc4y6RsTOdCMbfC6QhLgSH4FMImuXPB hnSEZaqRrMQVwPJp9X7t9baQsn+19LrWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13r2n9i+z80Bb9fAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"