#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=289e5b1f4e04a8f6e2ab8d5cd57375ffbca38005 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 H4sIAMkiJGcAA+08/XPbNrL9WX8Fzm6GVCpR/krT8VXJc52P+j3H9tju5XV8LociIYsxRfIRpG3d Tfu3v90FwG9J9rXJ3dwRM4kkcLFY7BcW2KUXzq0YLeA/e+74oRUvvvrj2xa0ly9e4Of2yxfb9Hv7 5Uv6hG9bW3svv9ree7m9vbWzvb2389XW9vbOy92v2NZnoKXRMpE6CWNfYqp/xbb5p1EmktHED0c8 vGPxIp1F4U5vY2OjV9YKNmTvecgTJ+Xs8Jtv2DSJ5uxnAGBH51av95PggiG85QgvsBj76AcBS2e+ YBPOEn6f+GnKQ+ZIKIkVv72mmQibbU+zNEu4bTN/HkdJyuLED1PoDd3Uj8JeT3WLheipIR6/m2R+ 4Fk3gFw9pgmQDAmD3/SjaZTMnRSpmM5T+diNEq4f8ySJEtntOaljB054o599+k4+mC/cONad80Xg T2Q/zqq708QJBc7VfAR02oBA0Z8uYr+Y4tgXKbHD41N2GuOahdnf7zFomwjL95nZZ8NXLIrT2EkE tyTUGX5PCG7jnAMPQ8GcEKHgISPIhPkhKHrocmujR5AxG7fjMfvyueV4ni1xmMZwGEbDOOFpuhiS WIZzDpriCWNA0JXmcZGODQltSyGugHZIumNDpCAKe+oEgrcjnTpZkI4vk4y3PJ7xIB4bH2cwDyw2 jZDTUl0lHVKZkNualH5PcfYwCtMkCtgZ6T5oBHAqyVwgR2gQECabhZHHSb9b+RMvhn7op8OTFRxZ 2Ahih+vZAASs5MI7ZNNSNuSmqpZky3ltsEh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VHiSJ7mNVFhGkzR pr+aJ5QOEWkbP0BVl3NDeiGVSqzxg3ASN0rpxoGcrZF4pYOhj/dhaTu78lv0psKr1KfFl+v7n+UL cZpn75RbpwxVC9PK+f6VrNtkVAKj8clCGESq9bas6tQv/BtLrsSWRfctmm9SVqXAQs8x/zGQlTo8 zOZ0jVeglFUZ/YqEfCwf2VriqAZlRlbNuUpPn/29eJuwKGKQM2vdKyUBW1SyivDXqiyK1zcbYii2 01USeEt/ACSWsOpaVTAQBl4wVKfe9EM3yDzONipnBGu2UV2iSvz4MmdjqVxSqTg6x4gCErHjchAb MQovkgi8JDuNllKm6mk1c4oNDMMDi/EqnTVj9FpssSRxssk85CD17TcBsXnaNquqjjT0WweUrcYj oTaZ8StjoxErs6SFIZ8j/oOwLI2iQB3chw9i5iSWmP2hc6z++1/457++red/9nZedPH/l2i1v/81 ccSst4lZF/w7JvieMP1Sfw4Gq3iWKAz7Xgf8pMWvej3BUzaMWBhlIXzVP2M/5lPHD/RvniT4wnGv p/6Yyd/BNrg7i9gGltvus6//ayPvufFTuorzU+j/34sfD87t90eX9uHphw9Hl1QITXBGlbJ9+rsw GFvjcoShwBB8CtumvKFmQ3qFfaqRLMXlgfs0er/2ehtI2T9bel3rWte61rWuda1rXeta17rWta51 rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta517T+x/T8HjYjQAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"