#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=88f34c6a671003c081603d1f13b88c6e0d5cc4b6 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 H4sIAICzdGcAA+08a3PbOJL7Wb8Ca0+KVEai/MpkyjtKzuM8xneO47I9m5vyeli0CFmMKZJHkLa1 WzO//bobAAk+JDk7SXarlqhKJIGNRqNfaKCbXni3YrSA/9y5F0ROsvjT529b0J4/e4af28+fbdPv na0t+sRHz7e++9P23vPdZ9u723t78Hx7exces60vQEuj5SLzUsa+xlT/jm3zz6NcpKPrIBrx6I4l i2wWRzu9jY2NnqkVbMje8oinXsbZ4bffsmkaz9kvAMCOzpxe72fBBUN4xxN+6DD2IQhDls0Cwa45 S/l9GmQZj5gnoSRW/PaSZiJsrjvNszzlrsuCeRKnGUvSIMqgN5pkQRz1eqpbLERPDfH53XUehL5z A8jVY5oAyZAw+E0/msbp3MuQiuk8k48nccr1Y56mcSq7fS/z3NCLbvSzj9/LB/PFJEl053wRBtey H2fV3VnqRQLnaj4COl1AoOjPFklQTnEciIzY4fMpe5/gmoXd3+8xaJsIy/eZ3WfDFyxOssRLBXck 1Cl+Twlu44wDDyPBvAih4CEjyJQFESh6NOHORo8gEzZux2P35XPH831X4rCt4TCKh0nKs2wxJLEM 5xw0xRfWgKArzeciG1sS2pVCXAHtkXTHlshAFO7UCwVvRzr18jAbX6Q5b3k842Eytj7MYB5YbBYj p6W6SjqkMiG3NSn9nuLsYRxlaRyyU9J90AjgVJpPgByhQUCYbBbFPif9buVPshgGUZANT1ZwZOEi iButZwMQsJILb5BNS9lQmKpakivndcEiQf1T/n95kILB8jueLtg04KFfcuNixvUsA3Y/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lfzhDIhImvjB6jqcm5IB6SyiDV+EE7ihpFpHMjZGjlXOswEeBWWtbOruEBvKrzKejp8 ub7/Rb5spXn2Rnl0Sk61MM1M9a9k3Saj6heNT9bAIFKtt6aqU78Ibhy5ElfW27dovk0JlRILPcfU x0AW6fAon9MNXolSFmT0KxIKsHJka4mjGpiMrJpzlZ4++0f5plpZvyBn1rpn5P9aVLKK8LeqLMpX /hpiKHfSVRJ4TX/7IZGw6kZVMBAGHoqrU28G0STMfc42KjG5M9uoLlHlfAKZrnFUGsmoiy4wooBE 4k04iI0YhRdBBG7ITqOlbKl6Wk2aYgPD8MFi/EpnzRj9Fls0JE42WUQbpL79JiA2X9tmVdWRhn7r ANNqfBJqkxm/MTYaMZMlLQz5YvEfhGVZHIfqyDx8EDMvdcTss86x5u8/be1V8j9bmP/Z29nu4v+v 0Wp//+naE7PeJmZd8O9Y4Iuo9Ev9ORCs4lmiMOwHHfCTKr/o9QTP2DBmUZxH8FX/TIKET70g1L95 muIbrb2e+mMW/wAD4ZNZzDaw3HafffNfG0XPTZDRJViQQf//nv90cOa+PbpwD9+/e3d0QYXQBGdV KdunvwuCATYuR1gKDMGnsHfKa2Y2pHefpxrJUlw++FCr91uvt4GU/aul17Wuda1rXeta17rWta51 rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1/7T2/6OjetcAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"