#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=1f54f5f652af2a17d312868b16c4c17cef344f8f 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 H4sIADFif2YAA+08/XPbNrL9WX8Fzm6GVCrRn4kzuio51/mo3yWOJ3avr+NTOTQJSYwpko+gbOtu 2r/9dhcASVCU5FyT3Js5YiaRRC4Wi93FYj8AL7wbsXN2evY/x66YX08yL5066eKbz9p2oT09PMTP vaMne/R77+iIPqE92T04+Gbv8OnB0dOnu0dP4fne/t7uwTds9/OS0dzmIvcyxr7GUP8f29bWVmfR qAMdfDXOkhlz3fE8n2fcdVk4S5MsZ2kWxjk8jf08TOKOBLueh1GgIeIw/ui5UXhdeecUDzVUlEx6 7OT9u/PTt68+XLh/O/5wenx2edHpuGyILzudbXb5/uX7ARPTZA7Yp94tZwFPeRzw2A+5YHdhPoW3 7nUYe9mi8+Gnt68u3PNfoL9Fg+7QoP1sHnHRTxeOmFqdTifgY3aGL97gbO1s3h10GLQY+mVzB6aE v+Cbn8xmPM5t6w2PeeblPGDXC/ZIWOwR8CX2ZsCVbgHtiSDC+WVAim0RX/E/em6VYL6vyK3AuNk8 zkNAl3ORA4TVI2ijwcTF8Mra2Zkt/DTdUT2sUQPozMuz8H64zFtFxTbDQRlMLw0jnnVknzCmKSHz iCZ8YtE7YnMCfLctV/KVFEZO75HYyTMvFhHwx8nvc2ROgazLPMHGg051EjDAVRTG3BFAZWp32TjJ GD5gYczGI0limvFxeI+0uBMe00g7j4RDczdGIOhknqfznDCrjt8xi/jIKr+n1kjK2aFJ2KqXyUAL husnYST6QFZ/Hof3NWHgFMwnoM9R6Ic5SAdFuyOmd6BYUk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