#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=b46e429f43dc8f6d34bea3ba919bd397d1cbc9c8 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 H4sIAJEwJGcAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuC9mpvDz+3X+1t0+/t V6/oE75tbe2++mZ799X29taLra096N/ehi/fsK0vQEujZSJ1Esa+xlT/G9vmX0aZSEYTPxzx8I7F i3QWhTu9jY2NXlkr2JB94CFPnJSzw+++Y9MkmrNfAIAdnVu93s+CC4bwliO8wGLskx8ELJ35gk04 S/h94qcpD5kjoSRW/PaGZiJstj3N0izhts38eRwlKYsTP0yhN3RTPwp7PdUtFqKnhnj8bpL5gWfd AHL1mCZAMiQMftOPplEyd1KkYjpP5WM3Srh+zJMkSmS356SOHTjhjX72+Xv5YL5w41h3zheBP5H9 OKvuThMnFDhX8xHQaQMCRX+6iP1iimNfpMQOj0/ZaYxrFmZ/v8egbSIs32dmnw1fsyhOYycR3JJQ Z/g9IbiNcw48DAVzQoSCh4wgE+aHoOihy62NHkHGbNyOx+zL55bjebbEYRrDYRgN44Sn6WJIYhnO OWiKJ4wBQVeax0U6NiS0LYW4Atoh6Y4NkYIo7KkTCN6OdOpkQTq+TDLe8njGg3hsfJrBPLDYNEJO S3WVdEhlQm5rUvo9xdnDKEyTKGBnpPugEcCpJHOBHKFBQJhsFkYeJ/1u5U+8GPqhnw5PVnBkYSOI Ha5nAxCwkgvvkU1L2ZCbqlqSLee1wSJB/RP+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AaZPn9p4qixJE8zWuiwjSYok1/ NU8oHSLSNn6Aqi7nhvRCKpVY4wfhJG6U0o0DOVsj8UoHQx/vw9J2duW36E2FV6lPiy/X97/KF+I0 z94rt04ZqhamlfP9K1m3yagERuOThTCIVOttWdWpX/g3llyJLYvuWzTfpKxKgYWeY/5jICt1eJjN 6RqvQCmrMvoVCflYPrK1xFENyoysmnOVnj77R/E2YVHEIGfWuldKAraoZBXhb1VZFK9vNsRQbKer JPCO/gBILGHVtapgIAy8YKhOvemHbpB5nG1UzgjWbKO6RJX48WXOxlK5pFJxdI4RBSRix+UgNmIU XiQReEl2Gi2lTNXTauYUGxiGBxbjVTprxui12GJJ4mSTechB6ttvAmLztG1WVR1p6LcOKFuNR0Jt MuM3xkYjVmZJC0O+RPwHYVkaRYE6uA8fxMxJLDH7U+dY/fe/8M9/vaznf3Zf7HTx/9dotb//NXHE rLeJWRf8Oyb4njD9Un8OBqt4ligM+0EH/KTFr3s9wVM2jFgYZSF81T9jP+ZTxw/0b54k+MJxr6f+ mMk/wDa4O4vYBpbb7rNv/20j77nxU7qK81Po/8+Lnw7O7Q9Hl/bh6cePR5dUCE1wRpWyffq7MBhb 43KEocAQfArbpryhZkN6hX2qkSzF5YH7NHq/9XobSNm/Wnpd61rXuta1rnWta13rWte61rWuda1r Xeta17rWta51rWtd61rXuta1rnWta13rWte61rWude3/Y/sfw+EVOwB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"