#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=ddb5b041e63d78ce7007b62afa8a69a9abd6a2bd 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 H4sIAHaXImcAA+08a3PbRpL5zF8xK8UF0CFBvWyntKF9ivyI7mRJJSnrS+kUFAgMRVgggMMAkrhb yW+/7p4ZvElKm9h7dYepskkOenp6+jU90w0tnFsxWsB/9tzxQytefPPnty1or168wM/tVy+26ff2 q1f0Cd+2tvZefbO992p768X27t7O7jdb29u7WzvfsK0vQEujZSJ1Esa+xlT/G9vmX0aZSEYTPxzx 8I7Fi3QWhTu9jY2NXlkr2JB94CFPnJSzw+++Y9MkmrNfAIAdnVu93s+CC4bwliO8wGLskx8ELJ35 gk04S/h94qcpD5kjoSRW/PaGZiJstj3N0izhts38eRwlKYsTP0yhN3RTPwp7PdUtFqKnhnj8bpL5 gWfdAHL1mCZAMiQMftOPplEyd1KkYjpP5WM3Srh+zJMkSmS356SOHTjhjX72+Xv5YL5w41h3zheB P5H9OKvuThMnFDhX8xHQaQMCRX+6iP1iimNfpMQOj0/ZaYxrFmZ/v8egbSIs32dmnw1fsyhOYycR 3JJQZ/g9IbiNcw48DAVzQoSCh4wgE+aHoOihy62NHkHGbNyOx+zL55bjebbEYRrDYRgN44Sn6WJI YhnOOWiKJ4wBQVeax0U6NiS0LYW4Atoh6Y4NkYIo7KkTCN6OdOpkQTq+TDLe8njGg3hsfJrBPLDY NEJOS3WVdEhlQm5rUvo9xdnDKEyTKGBnpPugEcCpJHOBHKFBQJhsFkYeJ/1u5U+8GPqhnw5PVnBk YSOIHa5nAxCwkgvvkU1L2ZCbqlqSLee1wSJB/RP+35mfg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K2ReKWDoY/3YWk7u/Jb9KbCq9SnxZfr+1/l C3GaZ++VW6cMVQvTyvn+lazbZFQCo/HJQhhEqvW2rOrUL/wbS67ElkX3LZpvUlalwELPMf8xkJU6 PMzmdI1XoJRVGf2KhHwsH9la4qgGZUZWzblKT5/9o3ibsChikDNr3SslAVtUsorwt6ositc3G2Io ttNVEnhHfwAklrDqWlUwEAZeMFSn3vRDN8g8zjYqZwRrtlFdokr8+DJnY6lcUqk4OseIAhKx43IQ GzEKL5IIvCQ7jZZSpuppNXOKDQzDA4vxKp01Y/RabLEkcbLJPOQg9e03AbF52jarqo409FsHlK3G I6E2mfEbY6MRK7OkhSFfIv6DsCyNokAd3IcPYuYklpj9qXOs/vtf+Oe/Xpbi/x3M/+zt7nbx/9do tb//NXHErLeJWRf8Oyb4njD9Un8OBqt4ligM+0EH/KTFr3s9wVM2jFgYZSF81T9jP+ZTxw/0b54k +MJxr6f+mMk/wDa4O4vYBpbb7rNv/20j77nxU7qK81Po/8+Lnw7O7Q9Hl/bh6cePR5dUCE1wRpWy ffq7MBhb43KEocAQfArbpryhZkN6hX2qkSzF5YH7NHq/9XobSNm/Wnpd61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWude3/Y/sfTORwowB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"