#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=7837b14e13799cc5b36eb6f4ea6d72698a256b0a 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 H4sIALn5bGcAA+08a3PbOJLzWb8Ca0+KVEai/Mp4yjtKzuM8xruJ47I9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JDk7Se6qjqhKJIGNRqNfaKCbXni3YrSA/9y5F0ROsvjm87ctaPvPnuHn9v6zbfq9 s7VFn/hof+v7b7b39nd3t/f3nu1C//b27tbeN2zrC9DSaLnIvJSxrzHV/8W2+ZdRLtLRdRCNeHTH kkU2i6Od3sbGRs/UCjZkb3jEUy/j7Oi779g0jefsVwBgx2dOr/eL4IIhvOMJP3QY+xCEIctmgWDX nKX8Pg2yjEfMk1ASK357QTMRNted5lmectdlwTyJ04wlaRBl0BtNsiCOej3VLRaip4b4/O46D0Lf uQHk6jFNgGRIGPymH03jdO5lSMV0nsnHkzjl+jFP0ziV3b6XeW7oRTf62ccf5IP5YpIkunO+CINr 2Y+z6u4s9SKBczUfAZ0uIFD0Z4skKKd4G4iM2OHzKXuf4JqF3T/oMWibCMsPmN1nw+csTrLESwV3 JNQpfk8JbuOMAw8jwbwIoeAhI8iUBREoejThzkaPIBM2bsdj9+Vzx/N9V+KwreEwiodJyrNsMSSx DOccNMUX1oCgK83nIhtbEtqVQlwB7ZF0x5bIQBTu1AsFb0c69fIwG1+kOW95PONhMrY+zGAeWGwW I6eluko6pDIhtzUp/Z7i7FEcZWkcslPSfdAI4FSaT4AcoUFAmGwWxT4n/W7lT7IYBlGQDU9WcGTh IogbrWcDELCSC6+RTUvZUJiqWpIr53XBIkH9U/7feZCC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NqoMA2maKtfzRPKhIisjR+gqsu5IR2QyiLW+EE4iRtGpnEgZ2vkXOkwE+BVWNbOruICvanwKuvp 8OX6/lf5spXm2Wvl0Sk51cI0M9W/knWbjKpfND5ZA4NItd6aqk79Irhx5EpcWW/fovk2JVRKLPQc Ux8DWaTDo3xON3glSlmQ0a9IKMDKka0ljmpgMrJqzlV6+uxf5ZtqZf2CnFnrnpH/a1HJKsLfq7Io X/lriKHcSVdJ4BX97YdEwqobVcFAGHgork69GUSTMPc526jE5M5so7pElfMJZLrGUWkkoy66wIgC Eok34SA2YhReBBG4ITuNlrKl6mk1aYoNDMMHi/ErnTVj9Fts0ZA42WQRbZD69puA2Hxtm1VVRxr6 rQNMq/FJqE1m/M7YaMRMlrQw5IvFfxCWZXEcqiPz8EHMvNQRs886x5q//7S1Z+Z/dvYx/7PXvf/1 dVrt7z9de2LW28SsC/4dC3wRlX6pPweCVTxLFIb9qAN+UuXnvZ7gGRvGLIrzCL7qn0mQ8KkXhPo3 T1N8o7XXU3/M4l9gIHwyi9kGltsesG//Y6PouQkyugQLMuj/z/OfD8/cN8cX7tH7d++OL6gQmuCs KmUH9HdBMMDG5QhLgSH4FPZOec3MhvTu81QjWYrLBx9q9X7v9TaQsv9t6XWta13rWte61rWuda1r Xeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta517f9b+x8G4vMxAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"