#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=7a3299316dd43b21ca28aa25a86086e11370955d 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 H4sIAKuExmYAA+08a3PbRpL5zF8xK8UF0CFBPe2UNrRPkR/RnSypLGV9KZ2CAoGhCAsEcBhAEncr +e3X3TODN0lpE3uvajFVNvHo6enp1/RMN7RwbsVoAf/Zc8cPrXjxzZ/ftqC93N/H3+2X+9t0v/3y Jf3C1dbW3stvtvdevNje39rZ3n3xzdb29u7Wi2/Y1hegpdEykToJY19jqP+PbfMvo0wko4kfjnh4 x+JFOovCnd7GxkavrBVsyN7zkCdOytnRd9+xaRLN2S8AwI4/Wr3ez4ILhvCWI7zAYuyTHwQsnfmC TThL+H3ipykPmSOhJFa8ek0jETbbnmZplnDbZv48jpKUxYkfpvA0dFM/Cns99VgsRE918fjdJPMD z7oB5Oo1DYBkSBi80q+mUTJ3UqRiOk/lazdKuH7NkyRK5GPPSR07cMIb/e7z9/LFfOHGsX44XwT+ RD7HUfXjNHFCgWM1XwGdNiBQ9KeL2C+GOPFFSuzw+JSdxThnYfYPegzaJsLyA2b22fAVi+I0dhLB LQl1jtcJwW185MDDUDAnRCh4yQgyYX4Iih663NroEWTMxu14zL58bzmeZ0scpjEchtEwTniaLoYk luGcg6Z4whgQdKV5XKRjQ0LbUogroB2S7tgQKYjCnjqB4O1Ip04WpOPLJOMtr2c8iMfGpxmMA5NN I+S0VFdJh1Qm5LYmpd9TnD2KwjSJAnZOug8aAZxKMhfIERoEhMlmYeRx0u9W/sSLoR/66fB0BUcW NoLY4Xo2AAErufAO2bSUDbmpqinZclwbLBLUP+H/m/kJGCy/48mC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oeJ tI0foKrLuSG9kEol1/hBOIkbpXTzQI7WSLzThtHH87C0nV15FqWp8Cr1bfHl+v5X+UGc5tk75dYp Q9nCtHK9x0rWbTIqgdL4ZCEUItV6W1Z1ei78G0vOxJYfXbRovklZtQILvcf810BWavEwm9MxXoFS VuX0KxLysXxoa4mjGpQZWTXnKj199o/ia8KiiEWOrHWvlARuUckqwt+qsig+32yIoVhOV0ngLf0B kFjCqmNVwUAYePBQHXrTD90g8zjbqOwdrNlGdYoq8efLnJ2lcoml4vgcIwpIxI7LQWzEKDxgIvCS 7DRaSpmrt9XMOTYwDA8sxqs8rBmj12KLJYmTTeYhB6lvvwmIzdO2WVV1pKHf2qFsNR4JtcmM3xgb jViZJS0M+RLxH4RlaRQFakM/fBAzJ7HE7E8dY/Xf/8I///Winv/Z29vq4v+v0Wp//2viiFlvE7Mu +HdM8DthulN/DgaruJYoDPtBB/ykxa96PcFTNoxYGGUhXOrb2I/51PEDfc+TBD847vXUHzP5B9gG d2cR28By6wP27X9s5E9u/JSO6PwUnv/3xU+HH+33x5f20dmHD8eXVAhPcEaVsgP6uzAYW+N0hKHA EHwKy6Y8uWZD+oR9qpEsxeWB+zR6v/V6G0jZv1p6Xeta17rWta51rWtd61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd61rXuta1rnXt37H9H/UpuewAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"