#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=749bb1d23417a148e333f6772b498093dc4fb1b0 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 H4sIAAGfgWYAA+08/XPbNrL9WX8Fzm6GVCrRn/kYXZWc63zU7xzHE7vX1/GpHJqEJMYUyUdQtnU3 7d9+uwuAJChKcq5J7s0cMZNIIheLxe5isR+AF96N2Dk7OfufI1fMryeZl06ddPHNZ2270J4eHuLn 3rMne/R779kz+oT2ZPfg4Ju9w6eHuwd7zw52AW5vf/fJs2/Y7uclo7nNRe5ljH2Nof4/tq2trc6i UQc6+GqcJTPmuuN5Ps+467JwliZZztIsjHN4Gvt5mMQdCXY9D6NAQ8Rh/NFzo/C68s4pHmqoKJn0 2PH7d+cnp68/XLh/O/pwcnR2edHpuGyILzudbXb5/tX7ARPTZA7Yp94tZwFPeRzw2A+5YHdhPoW3 7nUYe9mi8+Gn09cX7vkv0N+iQXdo0H42j7jopwtHTK1OpxPwMTvDF29xtnY27w46DFoM/bK5A1PC X/DNT2YzHue29ZbHPPNyHrDrBXskLPYI+BJ7M+BKt4D2RBDh/DIgxbaIr/gfPbdKMN9X5FZg3Gwe 5yGgy7nIAcLqEbTRYOJieGXt7MwWfpruqB7WqAF05uVZeD9c5q2iYpvhoAyml4YRzzqyTxjTlJB5 RBM+segdsTkBvtuWK/lKCiOn90js5JkXiwj44+T3OTKnQNZlnmDjQac6CRjgKgpj7gigMrW7bJxk DB+wMGbjkSQxzfg4vEda3AmPaaSdR8KhuRsjEHQyz9N5TphVx++YRXxkld9TayTl7NAkbNXLZKAF w/WTMBJ9IKs/j8P7mjBwCuYT0Oco9MMcpIOi3RHT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