#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=3df92575158e04b42645aff35228c1f565fee6f9 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 H4sIADYDdGcAA+08a3PbOJLzWb8Ca0+KVEai/MpkyjtKzuM8xruO44o9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JNk7Se6qjqhKJIGNRqNfaKCbXng3YrSA/9y5F0ROsvjm87ctaM+fPcPP7efPtun3 ztYWfeKj51vff7O993z3GTzf3dn7Zmt7e+f53jds6wvQ0mi5yLyUsa8x1f/FtvmXUS7S0VUQjXh0 y5JFNoujnd7GxkbP1Ao2ZG95xFMv4+zwu+/YNI3n7FcAYEcfnF7vF8EFQ3jHE37oMPYxCEOWzQLB rjhL+V0aZBmPmCehJFb89pJmImyuO82zPOWuy4J5EqcZS9IgyqA3mmRBHPV6qlssRE8N8fntVR6E vnMNyNVjmgDJkDD4TT+axuncy5CK6TyTjydxyvVjnqZxKrt9L/Pc0Iuu9bNPP8gH88UkSXTnfBEG V7IfZ9XdWepFAudqPgI6XUCg6M8WSVBOcRyIjNjh8yl7n+Cahd3f7zFomwjL95ndZ8MXLE6yxEsF dyTUKX5PCW7jAwceRoJ5EULBQ0aQKQsiUPRowp2NHkEmbNyOx+7L547n+67EYVvDYRQPk5Rn2WJI YhnOOWiKL6wBQVeaz0U2tiS0K4W4Atoj6Y4tkYEo3KkXCt6OdOrlYTY+T3Pe8njGw2RsfZzBPLDY LEZOS3WVdEhlQm5rUvo9xdnDOMrSOGSnpPugEcCpNJ8AOUKDgDDZLIp9Tvrdyp9kMQyiIBuerODI wkUQN1rPBiBgJRfeIJuWsqEwVbUkV87rgkWC+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