#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=cfa7cbf6b77dd7fe4a10297b2fbe9903fc75b9c4 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 H4sIAN1IhWcAA+08a3PbOJLzWb8Ca0+KVEaibMeZTHlHyXmcx3jXcVy2Z3NTPg+LFiGLMUXyCNK2 dmvmt193AyDBhyR7J8ld1RFViSSw0Wj0Cw100wvvRowW8J8794LISRbffP62Be3F8+f4uf3i+Tb9 3tnaok989GLr+2+2d1/sbu/s7m6/2Plma3v72dazb9jWF6Cl0XKReSljX2Oq/4tt8y+jXKSjqyAa 8eiWJYtsFkc7vY2NjZ6pFWzI3vGIp17G2cF337FpGs/ZrwDADk+dXu8XwQVDeMcTfugw9jEIQ5bN AsGuOEv5XRpkGY+YJ6EkVvz2imYibK47zbM85a7LgnkSpxlL0iDKoDeaZEEc9XqqWyxETw3x+e1V HoS+cw3I1WOaAMmQMPhNP5rG6dzLkIrpPJOPJ3HK9WOepnEqu30v89zQi671s08/yAfzxSRJdOd8 EQZXsh9n1d1Z6kUC52o+AjpdQKDozxZJUE5xFIiM2OHzKfuQ4JqF3d/rMWibCMv3mN1nw5csTrLE SwV3JNQJfk8JbuOUAw8jwbwIoeAhI8iUBREoejThzkaPIBM2bsdj9+Vzx/N9V+KwreEwiodJyrNs MSSxDOccNMUX1oCgK83nIhtbEtqVQlwB7ZF0x5bIQBTu1AsFb0c69fIwG5+nOW95PONhMrY+zmAe WGwWI6eluko6pDIhtzUp/Z7i7EEcZWkcshPSfdAI4FSaT4AcoUFAmGwWxT4n/W7lT7IYBlGQDY9X cGThIogbrWcDELCSC2+RTUvZUJiqWpIr53XBIkH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