#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=25161ff44c9b44e718696b661e7ba8a7b1ecd473 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 H4sIABBVeWcAA+08/XPbNrL9WX8Fzm6GVCpRtuMkHV+VnOt81HeO44ndy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSfY1yXszj5hJJIGLxWK/sMAuvfCuxWgB/7lzL4icZPHN529b0J4/fYqf28+fbtPv na0t+sRHz7eefbO9+/zJs52nOzvPoH97+8nW7jds6wvQ0mi5yLyUsa8x1f/FtvmnUS7S0WUQjXh0 w5JFNoujnd7GxkbP1Ao2ZG95xFMv4+zgu+/YNI3n7BcAYIcfnF7vZ8EFQ3jHE37oMPYxCEOWzQLB LjlL+W0aZBmPmCehJFb89pJmImyuO82zPOWuy4J5EqcZS9IgyqA3mmRBHPV6qlssRE8N8fnNZR6E vnMFyNVjmgDJkDD4TT+axuncy5CK6TyTjydxyvVjnqZxKrt9L/Pc0Iuu9LNP38sH88UkSXTnfBEG l7IfZ9XdWepFAudqPgI6XUCg6M8WSVBOcRSIjNjh8yl7n+Cahd3f6zFomwjL95jdZ8MXLE6yxEsF dyTUCX5PCW7jAwceRoJ5EULBQ0aQKQsiUPRowp2NHkEmbNyOx+7L547n+67EYVvDYRQPk5Rn2WJI YhnOOWiKL6wBQVeaz0U2tiS0K4W4Atoj6Y4tkYEo3KkXCt6OdOrlYTY+S3Pe8njGw2RsfZzBPLDY LEZOS3WVdEhlQm5rUvo9xdmDOMrSOGQnpPugEcCpNJ8AOUKDgDDZLIp9Tvrdyp9kMQyiIBser+DI wkUQN1rPBiBgJRfeIJuWsqEwVbUkV87r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