#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=6a59b5676a224c37452f2de7dc9c181934ea13eb 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 H4sIABo7l2YAA+08a3PbRpL5zF8xK8UF0CFBPe2UNrRPkR/RnS2rLGV9KZ2CgoihCAsEcJiBJO5W 8tuvu2cGb5LSJvZe1WKqbOLR09PTr+mZbmjh3YjRAv5z514QOcnimz+/bUF7vr+Pv9vP97fpfvv5 c/qFq62tveffbO8929t/tru/uwfvt7d3t/e/YVtfgJZGy4T0Usa+xlD/H9vmX0aZSEdXQTTi0S1L FnIWRzu9jY2NXlkr2JC95RFPPcnZ0XffsWkaz9kvAMCOPzq93s+CC4bwjif80GHsUxCGTM4Cwa44 S/ldGkjJI+YpKIUVr17SSITNdaeZzFLuuiyYJ3EqWZIGkYSn0UQGcdTr6cdiIXq6i89vr7Ig9J1r QK5f0wBIhoLBK/NqGqdzTyIV07lUrydxys1rnqZxqh77nvTc0IuuzbvP36sX88UkSczD+SIMrtRz HNU8lqkXCRyr+QrodAGBpl8ukqAY4l0gJLHD51P2IcE5C7t/0GPQNhGWHzC7z4YvWJzIxEsFdxTU KV6nBLfxkQMPI8G8CKHgJSPIlAURKHo04c5GjyATNm7HY/fVe8fzfVfhsK3hMIqHScqlXAxJLMM5 B03xhTUg6ErzuZBjS0G7SogroD2S7tgSEkThTr1Q8HakUy8L5fg8zXjL6xkPk7H1aQbjwGRljJxW 6qroUMqE3Dak9Huas0dxJNM4ZKek+6ARwKk0mwA5woCAMNksin1O+t3Kn2QxDKJADk9WcGThIogb rWcDELCSC2+QTUvZkJuqnpKrxnXBIkH9U/6/WZCCwfJbni7YN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