#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=0231ef3e0d4fefb937ce54a7b841caa28d23ef89 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 H4sIAG2mLWcAA+08/XPbNrL9WX8Fzm6GVCpR/krT8VXJc52P+j3H9tju5XV8LociIYsxRfIRpG3d Tfu3v90FwG9J9rXJ3dwRM4kkcLFY7BcW2KUXzq0YLeA/e+74oRUvvvrj2xa0ly9e4Of2yxfb9Hv7 5Uv6hG9bW3svv9ree7m9u7uzu7UNz7e3d16++IptfQZaGi0TqZMw9iWm+ldsm38aZSIZTfxwxMM7 Fi/SWRTu9DY2NnplrWBD9p6HPHFSzg6/+YZNk2jOfgYAdnRu9Xo/CS4YwluO8AKLsY9+ELB05gs2 4Szh94mfpjxkjoSSWPHba5qJsNn2NEuzhNs28+dxlKQsTvwwhd7QTf0o7PVUt1iInhri8btJ5gee dQPI1WOaAMmQMPhNP5pGydxJkYrpPJWP3Sjh+jFPkiiR3Z6TOnbghDf62afv5IP5wo1j3TlfBP5E 9uOsujtNnFDgXM1HQKcNCBT96SL2iymOfZESOzw+ZacxrlmY/f0eg7aJsHyfmX02fMWiOI2dRHBL Qp3h94TgNs458DAUzAkRCh4ygkyYH4Kihy63NnoEGbNxOx6zL59bjufZEodpDIdhNIwTnqaLIYll OOegKZ4wBgRdaR4X6diQ0LYU4gpoh6Q7NkQKorCnTiB4O9KpkwXp+DLJeMvjGQ/isfFxBvPAYtMI OS3VVdIhlQm5rUnp9xRnD6MwTaKAnZHug0YAp5LMBXKEBgFhslkYeZz0u5U/8WLoh346PFnBkYWN IHa4ng1AwEouvEM2LWVDbqpqSbac1waLBPVP+P9l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EIqlVjjB+EkbpTSjQM5WyPxSgdDH+/D0nZ25bfoTYVXqU+LL9f3P8sX 4jTP3im3ThmqFqaV8/0rWbfJqARG45OFMIhU621Z1alf+DeWXIkti+5bNN+krEqBhZ5j/mMgK3V4 mM3pGq9AKasy+hUJ+Vg+srXEUQ3KjKyac5WePvt78TZhUcQgZ9a6V0oCtqhkFeGvVVkUr282xFBs p6sk8Jb+AEgsYdW1qmAgDLxgqE696YdukHmcbVTOCNZso7pElfjxZc7GUrmkUnF0jhEFJGLH5SA2 YhReJBF4SXYaLaVM1dNq5hQbGIYHFuNVOmvG6LXYYkniZJN5yEHq228CYvO0bVZVHWnotw4oW41H Qm0y41fGRiNWZkkLQz5H/AdhWRpFgTq4Dx/EzEksMftD51j997/wz399W8//7O287OL/L9Fqf/9r 4ohZbxOzLvh3TPA9Yfql/hwMVvEsURj2vQ74SYtf9XqCp2wYsTDKQviqf8Z+zKeOH+jfPEnwheNe T/0xk7+DbXB3FrENLLfdZ1//10bec+OndBXnp9D/vxc/Hpzb748u7cPTDx+OLqkQmuCMKmX79Hdh MLbG5QhDgSH4FLZNeUPNhvQK+1QjWYrLA/dp9H7t9TaQsn+29LrWta51rWtd61rXuta1rnWta13r Wte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta13r2n9i+3/pKy+eAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"