#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=31ae20f723efdb2715c2413c373dac799bd44036 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 H4sIACy1hmcAA+08a3PbOJLzWb8Ca0+KVEai/Mp4yjtKzuM8xruJ47I9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JDk7Se6qjqhKJIGNRqNfaKCbXni3YrSA/9y5F0ROsvjm87ctaPvPnuHn9v6zbfq9 s7VFn/hof+v7b7b39ve2n+3u7G5D//b2zv6zb9jWF6Cl0XKReSljX2Oq/4tt8y+jXKSj6yAa8eiO JYtsFkc7vY2NjZ6pFWzI3vCIp17G2dF337FpGs/ZrwDAjs+cXu8XwQVDeMcTfugw9iEIQ5bNAsGu OUv5fRpkGY+YJ6EkVvz2gmYibK47zbM85a7LgnkSpxlL0iDKoDeaZEEc9XqqWyxETw3x+d11HoS+ cwPI1WOaAMmQMPhNP5rG6dzLkIrpPJOPJ3HK9WOepnEqu30v89zQi270s48/yAfzxSRJdOd8EQbX sh9n1d1Z6kUC52o+AjpdQKDozxZJUE7xNhAZscPnU/Y+wTULu3/QY9A2EZYfMLvPhs9ZnGSJlwru SKhT/J4S3MYZBx5GgnkRQsFDRpApCyJQ9GjCnY0eQSZs3I7H7svnjuf7rsRhW8NhFA+TlGfZYkhi Gc45aIovrAFBV5rPRTa2JLQrhbgC2iPpji2RgSjcqRcK3o506uVhNr5Ic97yeMbDZGx9mME8sNgs Rk5LdZV0SGVCbmtS+j3F2aM4ytI4ZKek+6ARwKk0nwA5QoOAMNksin1O+t3Kn2QxDKIgG56s4MjC RRA3Ws8GIGAlF14jm5ayoTBVtSRXzuuCRYL6p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tD/VFEYHCky vDYqTIMp2upX84QyISJr4weo6nJuSAeksog1fhBO4oaRaRzI2Ro5VzrMBHgVlrWzq7hAbyq8yno6 fLm+/1W+bKV59lp5dEpOtTDNTPWvZN0mo+oXjU/WwCBSrbemqlO/CG4cuRJX1tu3aL5NCZUSCz3H 1MdAFunwKJ/TDV6JUhZk9CsSCrByZGuJoxqYjKyac5WePvtX+aZaWb8gZ9a6Z+T/WlSyivD3qizK V/4aYih30lUSeEV/+yGRsOpGVTAQBh6Kq1NvBtEkzH3ONioxuTPbqC5R5XwCma5xVBrJqIsuMKKA ROJNOIiNGIUXQQRuyE6jpWypelpNmmIDw/DBYvxKZ80Y/RZbNCRONllEG6S+/SYgNl/bZlXVkYZ+ 6wDTanwSapMZvzM2GjGTJS0M+WLxH4RlWRyH6sg8fBAzL3XE7LPOsebvP23tNfM/e9v7Xfz/NVrt 7z9de2LW28SsC/4dC3wRlX6pPweCVTxLFIb9qAN+UuXnvZ7gGRvGLIrzCL7qn0mQ8KkXhPo3T1N8 o7XXU3/M4l9gIHwyi9kGltsesG//Y6PouQkyugQLMuj/z/OfD8/cN8cX7tH7d++OL6gQmuCsKmUH 9HdBMMDG5QhLgSH4FPZOec3MhvTu81QjWYrLBx9q9X7v9TaQsv9t6XWta13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta517f9b+x8dfp3AAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"