#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=2276741331bcab92e51c1f023eb04c9ed4988ba3 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 H4sIAICVa2cAA+08a3PbOJLzWb8Ca0+KVEai/Mp4yjtKzuM8xruJ47I9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JDk7Se6qjqhKJIGNRqNfaKCbXni3YrSA/9y5F0ROsvjm87ctaPvPnuHn9v6zbfq9 s7VFn/hof+v7b7b39nd39rd39vbg+fb27tbON2zrC9DSaLnIvJSxrzHV/8W2+ZdRLtLRdRCNeHTH kkU2i6Od3sbGRs/UCjZkb3jEUy/j7Oi779g0jefsVwBgx2dOr/eL4IIhvOMJP3QY+xCEIctmgWDX nKX8Pg2yjEfMk1ASK357QTMRNted5lmectdlwTyJ04wlaRBl0BtNsiCOej3VLRaip4b4/O46D0Lf uQHk6jFNgGRIGPymH03jdO5lSMV0nsnHkzjl+jFP0ziV3b6XeW7oRTf62ccf5IP5YpIkunO+CINr 2Y+z6u4s9SKBczUfAZ0uIFD0Z4skKKd4G4iM2OHzKXuf4JqF3T/oMWibCMsPmN1nw+csTrLESwV3 JNQpfk8JbuOMAw8jwbwIoeAhI8iUBREoejThzkaPIBM2bsdj9+Vzx/N9V+KwreEwiodJyrNsMSSx DOccNMUX1oCgK83nIhtbEtqVQlwB7ZF0x5bIQBTu1AsFb0c69fIwG1+kOW95PONhMrY+zGAeWGwW I6eluko6pDIhtzUp/Z7i7FEcZWkcslPSfdAI4FSaT4AcoUFAmGwWxT4n/W7lT7IYBlGQDU9WcGTh IogbrWcDELCSC6+RTUvZUJiqWpIr53XBIkH9U/7feZCCwfI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 4bVRYRpM0Va/mieUCRFZGz9AVZdzQzoglUWs8YNwEjeMTONAztbIudJhJsCrsKydXcUFelPhVdbT 4cv1/a/yZSvNs9fKo1NyqoVpZqp/Jes2GVW/aHyyBgaRar01VZ36RXDjyJW4st6+RfNtSqiUWOg5 pj4GskiHR/mcbvBKlLIgo1+RUICVI1tLHNXAZGTVnKv09Nm/yjfVyvoFObPWPSP/16KSVYS/V2VR vvLXEEO5k66SwCv62w+JhFU3qoKBMPBQXJ16M4gmYe5ztlGJyZ3ZRnWJKucTyHSNo9JIRl10gREF JBJvwkFsxCi8CCJwQ3YaLWVL1dNq0hQbGIYPFuNXOmvG6LfYoiFxsski2iD17TcBsfnaNquqjjT0 WweYVuOTUJvM+J2x0YiZLGlhyBeL/yAsy+I4VEfm4YOYeakjZp91jjV//2lrr5L/2cL8z97Obhf/ f41W+/tP156Y9TYx64J/xwJfRKVf6s+BYBXPEoVhP+qAn1T5ea8neMaGMYviPIKv+mcSJHzqBaH+ zdMU32jt9dQfs/gXGAifzGK2geW2B+zb/9goem6CjC7Bggz6//P858Mz983xhXv0/t274wsqhCY4 q0rZAf1dEAywcTnCUmAIPoW9U14zsyG9+zzVSJbi8sGHWr3fe70NpOx/W3pd61rXuta1rnWta13r Wte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXfv/1v4HGnRjCAB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"