#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=ff8bdcdffb15191c2dc086a19192d7775b98dcd9 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 H4sIAPsAeWYAA+08a3PbRpL5zF8xK8UF0CFBSZYVFze0T5Ef0Z0tqyxlfSmdgoKAoQgLBHAYUBJ3 K/nt193zwJOkvIm9dbWYKlsk0NPT06/p7pnh0rsRoyX85869MHbS5Td/ftuB9v3Tp/QXWu3v7s7O /vff7O4fPDnY29nZOzj4Zmf3yc7B3jds5wvQ0mgLkXsZY99kSZKvg9v0/v9p2/7LaCGy0VUYj3h8 y9JlPkvivd7W1lavrBVsyN7wmGdeztnRd9+xaZbM2S8AwI4/OL3ez4ILhvCOJ4LIYexjGEUsn4WC XXGW8bsszHMeM09CSaz46QWNRNhcd7rIFxl3XRbO0yTLWZqFcQ5PYz8Pk7jXU4/FUvRUl4DfXi3C KHCuAbl6TQMgGRIGP+lX0ySbezlSMZ3n8rWfZFy/5lmWZPJx4OWeG3nxtX736Zl8MV/6aaofzpdR eCWf46j6cZ55scCxmq+AThcQKPrzZRoWQ7wNRU7sCPiUvU9xzsLuj3sM2jbC8jGz+2z4nCVpnnqZ 4I6EOsXPGcFtfeDAw1gwL0YoeMkIMmNhDIoe+9zZ6hFkyibteOy+fO94QeBKHLY1HMbJMM14ni+H JJbhnIOmBMIaEHSlBVzkE0tCu1KIa6A9ku7EEjmIwp16keDtSKfeIson59mCt7ye8SidWB9nMA5M Nk+Q01JdJR1SmZDbmpR+T3H2KInzLInYKek+aARwKlv4QI7QICBMNouTgJN+t/InXQ7DOMyHJ2s4 snQRxI03swEIWMuF18imlWwwpqqm5MpxXb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FpQ0Zud9VD/GLwekK6edQi7c9w3jBN/R5 UBRq7ibhRgOpsrydVA5qlcOakreo+h11JQut9yGOR4JXQlHZlf2wMQ61ZOfKWoDXpznkQGxPLgqq qIL7fuuzgWJkNUf60uL/6HnF/eG2Qpv3MxXBS40QqZ2wMovIpWkkamSFTw60N74s9khoM6O6i7HN 7OsouYLkD9Lwvopq5Uc/AvnTZwON5NTcXtD0egT1cKdXEcNneTwaaI3DkzP7HEvA6dfgNXcbQRGt LHKuq22RmFj3oStRHiG0wbmO6s+zRaU7aGkrrVH9dkLNHjfHb6qUXQlkZb3oNe5/mh9NCAI53JD9 cvhfZ+7p4flP6nsAmXjp5xPkrxiAV0+TdIE3O4IXFeSk2KsiRGMl7R5FBlXywq0i3LamSYJHeWXX alaJoN151C/RAn6bJ0mkDnQP78XMyxwx+1PHWP/7X/jzXwe1/b/9vd39bv/va7Ta739deWLW28Zb d/g7JnhPmL6pn4PZprWnVWHYD3oHj2odz3s9iPbYMGFxsojho/6ahimfemGkv/MswwvHvZ76MZN/ gNlzf5awLSy3jNm3/7FlnlyHOV3RCHN4/t9nPx1+cN8cn7tH79+9Oz6nQhjBWVXKxvS7MLgThtMR lgJD8GkYB/LmEhvSFfapRrISV5DE3Or91uttIWX/aul1rWtd61rXuta1rnWta13rWte61rWuda1r Xeta17rWta51rWtd61rXuta1rnWta13rWte61rV/x/Z/FV2zagB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"