#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=736522e523edea61a5f1ea8463496220e4b3ca71 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 H4sIAFVLhGYAA+08/XPbNrL9WX8Fzm6GVCrRn/kYXZWc63zU7xzHE7vX1/GpHJqEJMYUyUdQtnU3 7d9+uwuAJChKcq5J7s0cMZNIIheLxe5isR+AF96N2Dk7OfufI1fMryeZl06ddPHNZ2270J4eHuLn 3rMne/R779kz+oT2ZPfg4Ju9w6eHe7uHTw4PAG5vf/fp/jds9/OS0dzmIvcyxr7GUP8f29bWVmfR qAMdfDXOkhlz3fE8n2fcdVk4S5MsZ2kWxjk8jf08TOKOBLueh1GgIeIw/ui5UXhdeecUDzVUlEx6 7Pj9u/OT09cfLty/HX04OTq7vOh0XDbEl53ONrt8/+r9gIlpMgfsU++Ws4CnPA547IdcsLswn8Jb 9zqMvWzR+fDT6esL9/wX6G/RoDs0aD+bR1z004Ujplan0wn4mJ3hi7c4WzubdwcdBi2GftncgSnh L/jmJ7MZj3Pbestjnnk5D9j1gj0SFnsEfIm9GXClW0B7IohwfhmQYlvEV/yPnlslmO8rciswbjaP 8xDQ5VzkAGH1CNpoMHExvLJ2dmYLP013VA9r1AA68/IsvB8u81ZRsc1wUAbTS8OIZx3ZJ4xpSsg8 ogmfWPSO2JwA323LlXwlhZHTeyR28syLRQT8cfL7HJlTIOsyT7DxoFOdBAxwFYUxdwRQmdpdNk4y hg9YGLPxSJKYZnwc3iMt7oTHNNLOI+HQ3I0RCDqZ5+k8J8yq43fMIj6yyu+pNZJydmgStuplMtCC 4fpJGIk+kNWfx+F9TRg4BfMJ6HMU+mEO0kHR7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