#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=928e75e1c980c863790a94acf717d40c6d580cbd 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 H4sIAIe1H2cAA+08/XPbtpL9WX8Fnt0MqVSi/JW441cl5zof9V3ieGL35To+l0OLkMWYInkEaVvv Tfu33+4CIAmSkuzXJu/mjphJJIGLxWK/sMAuvfBuxGgB/7lzL4icZPHNn9+2oO0/e4af2/vPtun3 9v4+fcK3ra29/W+29/a39vd3d/b29r7Z2t7e3X7+Ddv6ArQ0Wi4yL2Xsa0z1v7Ft/mWUi3R0FUQj Ht2yZJHN4mint7Gx0atqBRuytzziqZdxdvTdd2yaxnP2CwCw449Or/ez4IIhvOMJP3QY+xSEIctm gWBXnKX8Lg2yjEfMk1ASK357STMRNted5lmectdlwTyJ04wlaRBl0BtNsiCOej3VLRaip4b4/PYq D0LfuQbk6jFNgGRIGPymH03jdO5lSMV0nsnHkzjl+jFP0ziV3b6XeW7oRdf62efv5YP5YpIkunO+ CIMr2Y+z6u4s9SKBczUfAZ0uIFD0Z4skKKd4F4iM2OHzKfuQ4JqF3T/oMWibCMsPmN1nwxcsTrLE SwV3JNQpfk8JbuMjBx5GgnkRQsFDRpApCyJQ9GjCnY0eQSZs3I7H7svnjuf7rsRhW8NhFA+TlGfZ YkhiGc45aIovrAFBG83nIhtbEtqVQlwB7ZF0x5bIQBTu1AsFb0c69fIwG5+nOW95PONhMrY+zWAe WGwWI6eluko6pDIhtzUp/Z7i7FEcZWkcslPSfdAI4FSaT4AcoUFAmGwWxT4n/W7lT7IYBlGQDU9W cGThIogbrWcDELCSC2+QTUvZUJiqWpIr53XBIkH9U/7feZCC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eKNK+N CtNgijb91TyhdIjI2vgBqrqcG9ILqVRijR+Ek7hRSTcO5GyNxCsdDAO8D8va2VXcojcVXqU+Hb5c 3/8qX4jTPHuj3DplqFqYVs33r2TdJqMSGI1PFsIgUq23VVWnfhFcO3Ilriy6b9F8m7IqJRZ6jvmP gazU4VE+p2u8EqWsyugbEgqwfGRriaMaVBlpmrNJT5/9o3ybsCxikDNr3askAVtU0kT4mymL8vXN hhjK7XSVBF7THwBJJKy6VhUMhIEXDObUm0E0CXOfsw3jjODMNswlqsRPIHM2jsolVYqjC4woIJF4 Ew5iI0bhRRKBV2Sn0VLKVD01M6fYwDB8sBjf6KwZo99iixWJk00WIQepb78JiM3XtmmqOtLQbx1Q tRqfhNpkxm+MjUasypIWhnyJ+A/CsiyOQ3VwH96LmZc6YvanzrH673/hn/96Xon/dzH/s7e338X/ X6PV/v7XlSdmvU3MuuDfMcH3hOmX+nMwWMWzRGHYDzrgJy1+0esJnrFhzKI4j+Cr/pkECZ96Qah/ 8zTFF457PfXHTP4BtsEns5htYLntAfv23zaKnusgo6u4IIP+/zz76fCj+/b43D368P798TkVQhOc ZVJ2QH8XBmNrXI6wFBiCT2HblDfUbEivsE81kqW4fHCfVu+3Xm8DKftXS69rXeta17rWta51rWtd 61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rv1/bP8Dk4NJiwB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"