#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=8d1c4388124e4f21dfa26e38b6922f77658ea654 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 H4sIAGBJa2cAA+08a3PbOJLzWb8Ca0+KVEai5EeSKe8oOY/zGO8mjiv2bG7K52HRImQxpkgeQdrW bs389utuACT4kOTsTHJXdURVIglsNBr9QgPd9NK7EaMl/OcuvCBykuU3f34bQ3v25Al+7jx7skO/ d8dj+sRHz8ZPv9nZf7a3+3R/f38Mz3d29sa737DxF6Cl0XKReSljX2Oq/4tt+y+jXKSjqyAa8eiW JctsHke7va2trZ6pFWzI3vCIp17G2dF337FZGi/YLwDAjj84vd7PgguG8I4n/NBh7GMQhiybB4Jd cZbyuzTIMh4xT0JJrPjtBc1E2Fx3lmd5yl2XBYskTjOWpEGUQW80zYI46vVUt1iKnhri89urPAh9 5xqQq8c0AZIhYfCbfjSL04WXIRWzRSYfT+OU68c8TeNUdvte5rmhF13rZ5++lw8Wy2mS6M7FMgyu ZD/Oqruz1IsEztV8BHS6gEDRny2ToJzibSAyYofPZ+x9gmsWdv+gx6BtIyw/YHafDZ+zOMkSLxXc kVCn+D0luK0PHHgYCeZFCAUPGUGmLIhA0aMpd7Z6BJmwSTseuy+fO57vuxKHbQ2HUTxMUp5lyyGJ ZbjgoCm+sAYEXWk+F9nEktCuFOIaaI+kO7FEBqJwZ14oeDvSmZeH2eQ8zXnL4zkPk4n1cQ7zwGKz GDkt1VXSIZUJua1J6fcUZ4/iKEvjkJ2S7oNGAKfSfArkCA0CwmTzKPY56Xcrf5LlMIiCbHiyhiNL F0HcaDMbgIC1XHiNbFrJhsJU1ZJcOa8LFgnq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