#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=bd8ae7cbac496e6c4077983f4f9f981036dad8af 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 H4sIAMTcF2cAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuC9mpvDz+3X+1t0+/t V6/oE75tbe2++mZ799XW3qu9l9u78Hx7+8X27jds6wvQ0miZSJ2Esa8x1f/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/hP935idgsPy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Jt4weo6nJuSC+kUok1fhBO4kYp3TiQszUSr3Qw9PE+LG1nV36L3lR4lfq0+HJ9/6t8 IU7z7L1y65ShamFaOd+/knWbjEpgND5ZCINItd6WVZ36hX9jyZXYsui+RfNNyqoUWOg55j8GslKH h9mcrvEKlLIqo1+RkI/lI1tLHNWgzMiqOVfp6bN/FG8TFkUMcmate6UkYItKVhH+VpVF8fpmQwzF drpKAu/oD4DEElZdqwoGwsALhurUm37oBpnH2UbljGDNNqpLVIkfX+ZsLJVLKhVH5xhRQCJ2XA5i I0bhRRKBl2Sn0VLKVD2tZk6xgWF4YDFepbNmjF6LLZYkTjaZhxykvv0mIDZP22ZV1ZGGfuuAstV4 JNQmM35jbDRiZZa0MORLxH8QlqVRFKiD+/BBzJzEErM/dY7Vf/8L//zXy3r+Z3f3ZRf/f41W+/tf E0fMepuYdcG/Y4LvCdMv9edgsIpnicKwH3TAT1r8utcTPGXDiIVRFsJX/TP2Yz51/ED/5kmCLxz3 euqPmfwDbIO7s4htYLntPvv23zbynhs/pas4P4X+/7z46eDc/nB0aR+efvx4dEmF0ARnVCnbp78L g7E1LkcYCgzBp7BtyhtqNqRX2KcayVJcHrhPo/dbr7eBlP2rpde1rnWta13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta1/4/tv8BsVEQswB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"