#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=19b2713bc726597be7fbf666e688bc068fb3f39a 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 H4sIAMDYjWYAA+08/XPbNrL9WX8Fzm6GVCrR30lGVyXnOh/1u8TxxO71dXwqhyYhiTFF8hGUbd1N +7ff7gIgCYqSnGuSezNHzCSSyMVisbtY7AfghXcjds5Oz/7n2BXz60nmpVMnXXzzWdsutCeHh/i5 9/Roj37vPX1Kn9COdg8Ovtk7fHJ4cHB0uL979M3u3v7uk4Nv2O7nJaO5zUXuZYx9jaH+P7atra3O olEHOvhqnCUz5rrjeT7PuOuycJYmWc7SLIxzeBr7eZjEHQl2PQ+jQEPEYfzRc6PwuvLOKR5qqCiZ 9NjJ+3fnp29ffbhw/3b84fT47PKi03HZEF92Otvs8v3L9wMmpskcsE+9W84CnvI44LEfcsHuwnwK b93rMPayRefDT29fXbjnv0B/iwbdoUH72Tziop8uHDG1Op1OwMfsDF+8wdna2bw76DBoMfTL5g5M CX/BNz+ZzXic29YbHvPMy3nArhfskbDYI+BL7M2AK90C2hNBhPPLgBTbIr7if/TcKsF8X5FbgXGz eZyHgC7nIgcIq0fQRoOJi+GVtbMzW/hpuqN6WKMG0JmXZ+H9cJm3iopthoMymF4aRjzryD5hTFNC 5hFN+MSid8TmBPhuW67kKymMnN4jsZNnXiwi4I+T3+fInAJZl3mCjQed6iRggKsojLkjgMrU7rJx kjF8wMKYjUeSxDTj4/AeaXEnPKaRdh4Jh+ZujEDQyTxP5zlhVh2/YxbxkVV+T62RlLNDk7BVL5OB FgzXT8JI9IGs/jwO72vCwCmYT0Cfo9APc5AOinZHTO9AsaScJB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qacx94E4sk4u/pir6tNs1KWgAAiYeXGVdnfs8JDf3u9gqkZReFQwfdZeZC0kDlyPIy VK342lkxMuU5/tDI2nbCBsDvVISBhWYub75LvVzJZdwgcBMVeIgN9OGOW7B3xZwHdNRxhgHO6Ydy N9TVHiOBVDgioP62rqNT+r3qJEy5f2O4Ce/jaAG7qlz49Bo87Bcrd5vi+QweFnGao0rD1jTE+u/I kMkf1YvZvy8aM6Hc5Frpur7ikazpyx+mm7kLLibwUv/BEOKmS1Gw6yqGGhaddnZcotJrJGqkDa8S ULPhcp1aj8SAvT6+PH47UJWAAtHV7gjM0joLgM/4fZjbe932LvB/RaP8n44Pv9ABgA31f2z1/N/u 0VGb//saLeC3eZJE6g869O/F1MscMf2sY6zP/2L690n9738dHu638v8arZb/vfbEtLONf3UL41jc J+iXSgegs7FCYdj3OnilKsbzTkfwnPUTcE3mMXzVP9MwBU8+jPRv2H5ww+l0VDD7T9iLuD9N2BZm TQbs279sFU8mYU5/oiXM4fn/Xvx4/MF9c3rpnrx/9+70ktKaBGeZlA0oL4CZP5yOsBQYgo9DiETI ArI+uTBjjWQlriCJudX5rdPZQsr+09JrW9va1ra2ta1tbWtb29rWtra1rW1ta1vb2ta2trWtbW1r W9va1ra2ta1tbWtb29rWtra1rW3/je1fj3RzHgB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"