#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=1be9afc8f2871fbc49daaf9a8b35408947c37306 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 H4sIABHsc2cAA+08/XPbNrL9WX8Fzm6GVCpRtuMkHV+VnOt81HeO44ndy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSfY1yXszj+g0ksDFYrFfWGCXXnjXYrSAf9y5F0ROsvjm87ctaM+fPsXP7edPt+n3 ztYWfeKj51vPvtneff5k9/mzp/DfN1vb2092dr9hW1+AlkbLRealjH2Nqf4vts0/jXKRji6DaMSj G5Ysslkc7fQ2NjZ6plawIXvLI556GWcH333Hpmk8Z78AADv84PR6PwsuGMI7nvBDh7GPQRiybBYI dslZym/TIMt4xDwJJbHit5c0E2Fz3Wme5Sl3XRbMkzjNWJIGUQa90SQL4qjXU91iIXpqiM9vLvMg 9J0rQK4e0wRIhoTBb/rRNE7nXoZUTOeZfDyJU64f8zSNU9nte5nnhl50pZ99+l4+mC8mSaI754sw uJT9OKvuzlIvEjhX8xHQ6QICRX+2SIJyiqNAZMQOn0/Z+wTXLOz+Xo9B20RYvsfsPhu+YHGSJV4q uCOhTvB7SnAbHzjwMBLMixAKHjKCTFkQgaJHE+5s9AgyYeN2PHZfPnc833clDtsaDqN4mKQ8yxZD EstwzkFTfGENCLrSfC6ysSWhXSnEFdAeSXdsiQxE4U69UPB2pFMvD7PxWZrzlsczHiZj6+MM5oHF ZjFyWqqrpEMqE3Jbk9LvKc4exFGWxiE7Id0HjQBOpfkEyBEaBITJZlHsc9LvVv4ki2EQBdnweAVH Fi6CuNF6NgABK7nwBtm0lA2FqaoluXJeFywS1D/l/8yD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G31q3lCmRCRtfEDVHU5N6QDUlnEGj8IJ3HDyDQO5GyNnCsdZgK8Csva2VVcoDcVXmU9 Hb5c3/8sX7bSPHujPDolp1qYZqb6V7Juk1H1i8Yna2AQqdZbU9WpXwRXjlyJK+vtWzTfpoRKiYWe Y+pjIIt0eJTP6QavRCkLMvoVCQVYObK1xFENTEZWzblKT5/9u3xTraxfkDNr3TPyfy0qWUX4W1UW 5St/DTGUO+kqCbymv/2QSFh1oyoYCAMPxdWpN4NoEuY+ZxuVmNyZbVSXqHI+gUzXOCqNZNRFFxhR QCLxJhzERozCiyACN2Sn0VK2VD2tJk2xgWH4YDF+pbNmjH6LLRoSJ5ssog1S334TEJuvbbOq6khD v3WAaTU+CbXJjN8YG42YyZIWhnyx+A/CsiyOQ3VkHt6JmZc6YvZZ51jz95+2dpv5n93dZ138/zVa 7e8/XXpi1tvErAv+HQt8EZV+qT8HglU8SxSG/aADflLlF72e4BkbxiyK8wi+6p9JkPCpF4T6N09T fKO111N/zOLfYCB8MovZBpbb7rFv/7JR9FwFGV2CBRn0/+P0p/0P7tvDM/fg/bt3h2dUCE1wVpWy Pfq7IBhg43KEpcAQfAp7p7xmZkN693mqkSzF5YMPtXq/9XobSNn/tvS61rWuda1rXeta17rWta51 rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuvb/rf0HyY2gfAB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"