#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=6431d76a4d3eb9158f60cafe581b13944d359081 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 H4sIAPK3xGcAA+08/XPbtpL9WX8Fnt0MqVSi5I8kHb0qOdf5qO8SxxO7r9fxUzk0CVmMKZJHULb1 3rR/++0uAJKgKMm5Jnk3d8RMLAlcLPYbC2CZpXcjBnnmxWKaZHMnXX7z+dsQ2tPDQ/zce/Zkj37v D4f0CV2H+08Ovtk7fPZ0b+/g4Ok+9OOX4Tds+AVoWWkLkXsZY19jqv+NbWdnp1NVP+uzfJHFbJbM k2se82QhWBxG3zueCCKW8TTjgsd5mMQsjPOEzXjOMw3ZWYI11SA9hO3gNNMsmTPXnS5gAu66LJyn SZazNANE0Bv7BKnAAn57tQijwAHUDhLgElo1Jr71ogXvqU+3/JY3DUeqjOH2uyRYRDDqDEjPvHmP zZMAxkyLL27e67CHtJt8mQIi+oBBTORz9Rd/3fD7NHswrpMYhlwkNzzusfPwOvZQUD126s35BaDv KtnMl36aOvNlFF5phqLkusdy71rchbk/U3BAUhhfaxDfE4D9bSjyTsdlYxzS6XSAVfYOXOBHfr6c XyWRjXLsjojeXcTAR8zWsu2y/nNgLaOn4ZRk7sCsdpf9ZVzowpGYRgXPmRcKzo6E4Blq+FWWJZlt vbpPuZ/zgEnwHrtOcvZIWOwRYerS8IyTMSLtigpHgxOQIwwekLvtHCDUpe6ZbGEGgR/MCgI/mBEJ LNkIcz7XrFxobwS02XZulIl1COTnMxcfMskAdYFFzErTkPiYJ5AUXjIGAsAOu+AbbLE7MsxWIa6y QAar5uwawFHiAyzZsm2lXj6zeszyZ4v4Br4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