#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=bafbe3b7c7ae741be9575390a2453d6844656b67 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 H4sIAFeggGcAA+08a3PbOJLzWb8Ca0+KVEaibMeZTHlHyXmcx3jXcVy2Z3NTPg+LFiGLMUXyCNK2 dmvmt193AyDBhyR7J8ld1RFViSSw0Wj0Cw100wvvRowW8J8794LISRbffP62Be3F8+f4uf3i+Tb9 3tnaok989GLr+2+2d1/sbm1vv3jx/Ytv4PPZ9rNv2NYXoKXRcpF5KWNfY6r/i23zL6NcpKOrIBrx 6JYli2wWRzu9jY2NnqkVbMje8YinXsbZwXffsWkaz9mvAMAOT51e7xfBBUN4xxN+6DD2MQhDls0C wa44S/ldGmQZj5gnoSRW/PaKZiJsrjvNszzlrsuCeRKnGUvSIMqgN5pkQRz1eqpbLERPDfH57VUe hL5zDcjVY5oAyZAw+E0/msbp3MuQiuk8k48nccr1Y56mcSq7fS/z3NCLrvWzTz/IB/PFJEl053wR BleyH2fV3VnqRQLnaj4COl1AoOjPFklQTnEUiIzY4fMp+5DgmoXd3+sxaJsIy/eY3WfDlyxOssRL BXck1Al+Twlu45QDDyPBvAih4CEjyJQFESh6NOHORo8gEzZux2P35XPH831X4rCt4TCKh0nKs2wx JLEM5xw0xRfWgKArzeciG1sS2pVCXAHtkXTHlshAFO7UCwVvRzr18jAbn6c5b3k842Eytj7OYB5Y bBYjp6W6SjqkMiG3NSn9nuLsQRxlaRyyE9J90AjgVJpPgByhQUCYbBbFPif9buVPshgGUZANj1dw ZOEiiButZwMQsJILb5FNS9lQmKpakivndcEiQf1T/t95kILB8lueLtg04KFfcuN8xv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0H+sKAyOFBle GxWmwRRt9at5QpkQkbXxA1R1OTekA1JZxBo/CCdxw8g0DuRsjZwrHWYCvArL2tlVXKA3FV5lPR2+ XN//Kl+20jx7qzw6JadamGam+leybpNR9YvGJ2tgEKnWW1PVqV8E145ciSvr7Vs036aESomFnmPq YyCLdHiUz+kGr0QpCzL6FQkFWDmytcRRDUxGVs25Sk+f/at8U62sX5Aza90z8n8tKllF+HtVFuUr fw0xlDvpKgm8ob/9kEhYdaMqGAgDD8XVqTeDaBLmPmcblZjcmW1Ul6hyPoFM1zgqjWTURRcYUUAi 8SYcxEaMwosgAjdkp9FStlQ9rSZNsYFh+GAxfqWzZox+iy0aEiebLKINUt9+ExCbr22zqupIQ791 gGk1Pgm1yYzfGRuNmMmSFoZ8sfgPwrIsjkN1ZB7ei5mXOmL2WedY8/eftnab+Z/dZ8+7+P9rtNrf f7ryxKy3iVkX/DsW+CIq/VJ/DgSreJYoDPtRB/ykyi97PcEzNoxZFOcRfNU/kyDhUy8I9W+epvhG a6+n/pjFv8BA+GQWsw0st91j3/7HRtFzHWR0CRZk0P+fZz/vn7rvDs/dgw/v3x+eUyE0wVlVyvbo 74JggI3LEZYCQ/Ap7J3ympkN6d3nqUayFJcPPtTq/d7rbSBl/9vS61rXuta1rnWta13rWte61rWu da1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeva/7f2P4Cx3UAAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"