#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=156c5b02b656d0a66e03c57d53559dcda4d7d3f7 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 H4sIAKVrN2cAA+08/XPbtpL9WX8Fnt0MqVSibMeJO35Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuCtvfyJX5u773cpt/b e3v0Cd+2tnb3vtne3dt++erVy92X0L+9/WLn1Tds6wvQ0miZSJ2Esa8x1f/GtvmXUSaS0cQPRzy8 Y/EinUXhTm9jY6NX1go2ZB94yBMn5ezwu+/YNInm7BcAYEfnVq/3s+CCIbzlCC+wGPvkBwFLZ75g E84Sfp/4acpD5kgoiRW/vaGZCJttT7M0S7htM38eR0nK4sQPU+gN3dSPwl5PdYuF6KkhHr+bZH7g WTeAXD2mCZAMCYPf9KNplMydFKmYzlP52I0Srh/zJIkS2e05qWMHTnijn33+Xj6YL9w41p3zReBP ZD/OqrvTxAkFztV8BHTagEDRny5iv5ji2BcpscPjU3Ya45qF2d/vMWibCMv3mdlnw9csitPYSQS3 JNQZfk8IbuOcAw9DwZwQoeAhI8iE+SEoeuhya6NHkDEbt+Mx+/K55XieLXGYxnAYRsM44Wm6GJJY hnMOmuIJY0DQleZxkY4NCW1LIa6Adki6Y0OkIAp76gSCtyOdOlmQji+TjLc8nvEgHhufZjAPLDaN kNNSXSUdUpmQ25qUfk9x9jAK0yQK2BnpPmgEcCrJXCBHaBAQJpuFkcdJv1v5Ey+Gfuinw5MVHFnY CGKH69kABKzkwntk01I25KaqlmTLeW2wSFD/hP935idgsP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6Cqy7khvZBKJdb4QTiJG6V040DO1ki80sHQx/uwtJ1d+S16U+FV6tPiy/X9r/KF OM2z98qtU4aqhWnlfP9K1m0yKoHR+GQhDCLVeltWdeoX/o0lV2LLovsWzTcpq1JgoeeY/xjISh0e ZnO6xitQyqqMfkVCPpaPbC1xVIMyI6vmXKWnz/5RvE1YFDHImbXulZKALSpZRfhbVRbF65sNMRTb 6SoJvKM/ABJLWHWtKhgIAy8YqlNv+qEbZB5nG5UzgjXbqC5RJX58mbOxVC6pVBydY0QBidhxOYiN GIUXSQRekp1GSylT9bSaOcUGhuGBxXiVzpoxei22WJI42WQecpD69puA2Dxtm1VVRxr6rQPKVuOR UJvM+I2x0YiVWdLCkC8R/0FYlkZRoA7uwwcxcxJLzP7UOVb//S/881+v6vmf3VdbXfz/NVrt739N HDHrbWLWBf+OCb4nTL/Un4PBKp4lCsN+0AE/afHrXk/wlA0jFkZZCF/1z9iP+dTxA/2bJwm+cNzr qT9m8g+wDe7OIraB5bb77Nt/28h7bvyUruL8FPr/8+Kng3P7w9GlfXj68ePRJRVCE5xRpWyf/i4M xta4HGEoMASfwrYpb6jZkF5hn2okS3F54D6N3m+93gZS9q+WXte61rWuda1rXeta17rWta51rWtd 61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd+//Y/gcSP8pcAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"