#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=71bcde368a1780968dd6d60453f0bd1946fff07a 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 H4sIALa9EmcAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuC9mpvDz+3X+1t0+/t V6/oE75tbe2++mZ799XW7t6Ll3s7ALe9/WJ77xu29QVoabRMpE7C2NeY6n9j2/zLKBPJaOKHIx7e sXiRzqJwp7exsdErawUbsg885ImTcnb43XdsmkRz9gsAsKNzq9f7WXDBEN5yhBdYjH3yg4ClM1+w CWcJv0/8NOUhcySUxIrf3tBMhM22p1maJdy2mT+PoyRlceKHKfSGbupHYa+nusVC9NQQj99NMj/w rBtArh7TBEiGhMFv+tE0SuZOilRM56l87EYJ1495kkSJ7Pac1LEDJ7zRzz5/Lx/MF24c6875IvAn sh9n1d1p4oQC52o+AjptQKDoTxexX0xx7IuU2OHxKTuNcc3C7O/3GLRNhOX7zOyz4WsWxWnsJIJb EuoMvycEt3HOgYehYE6IUPCQEWTC/BAUPXS5tdEjyJiN2/GYffnccjzPljhMYzgMo2Gc8DRdDEks wzkHTfGEMSDoSvO4SMeGhLalEFdAOyTdsSFSEIU9dQLB25FOnSxIx5dJxlsez3gQj41PM5gHFptG yGmprpIOqUzIbU1Kv6c4exiFaRIF7Ix0HzQCOJVkLpAjNAgIk83CyOOk3638iRdDP/TT4ckKjixs BLHD9WwAAlZy4T2yaSkbclNVS7LlvDZYJKh/wv878xMwWH7HkwWb+jzwCm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ISJt4weo6nJuSC+kUok1fhBO4kYp3TiQszUSr3Qw9PE+LG1nV36L3lR4lfq0+HJ9/6t8 IU7z7L1y65ShamFaOd+/knWbjEpgND5ZCINItd6WVZ36hX9jyZXYsui+RfNNyqoUWOg55j8GslKH h9mcrvEKlLIqo1+RkI/lI1tLHNWgzMiqOVfp6bN/FG8TFkUMcmate6UkYItKVhH+VpVF8fpmQwzF drpKAu/oD4DEElZdqwoGwsALhurUm37oBpnH2UbljGDNNqpLVIkfX+ZsLJVLKhVH5xhRQCJ2XA5i I0bhRRKBl2Sn0VLKVD2tZk6xgWF4YDFepbNmjF6LLZYkTjaZhxykvv0mIDZP22ZV1ZGGfuuAstV4 JNQmM35jbDRiZZa0MORLxH8QlqVRFKiD+/BBzJzEErM/dY7Vf/8L//zXy3r+Z3f3VRf/f41W+/tf E0fMepuYdcG/Y4LvCdMv9edgsIpnicKwH3TAT1r8utcTPGXDiIVRFsJX/TP2Yz51/ED/5kmCLxz3 euqPmfwDbIO7s4htYLntPvv23zbynhs/pas4P4X+/7z46eDc/nB0aR+efvx4dEmF0ARnVCnbp78L g7E1LkcYCgzBp7BtyhtqNqRX2KcayVJcHrhPo/dbr7eBlP2rpde1rnWta13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta1/4/tv8B5pnMUQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"