#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=68b25f9ee3a6a23056f3ebcaca5f7381f41349cd 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 H4sIAGWWxmYAA+08a3PbRpL5zF8xK8UF0CFBPe2UNrRPkR/RnSypLGV9KZ2CAoGhCAsEcBhAEncr +e3X3TODN0lpE3uvajFVNvHo6enp1/RMN7RwbsVoAf/Zc8cPrXjxzZ/ftqC93N/H3+2X+9t0v/3y Jf3C1dbW3stvtvdevNje397d2oX32/C78w3b+gK0NFomUidh7GsM9f+xbf5llIlkNPHDEQ/vWLxI Z1G409vY2OiVtYIN2Xse8sRJOTv67js2TaI5+wUA2PFHq9f7WXDBEN5yhBdYjH3yg4ClM1+wCWcJ v0/8NOUhcySUxIpXr2kkwmbb0yzNEm7bzJ/HUZKyOPHDFJ6GbupHYa+nHouF6KkuHr+bZH7gWTeA XL2mAZAMCYNX+tU0SuZOilRM56l87UYJ1695kkSJfOw5qWMHTnij333+Xr6YL9w41g/ni8CfyOc4 qn6cJk4ocKzmK6DTBgSK/nQR+8UQJ75IiR0en7KzGOcszP5Bj0HbRFh+wMw+G75iUZzGTiK4JaHO 8TohuI2PHHgYCuaECAUvGUEmzA9B0UOXWxs9gozZuB2P2ZfvLcfzbInDNIbDMBrGCU/TxZDEMpxz 0BRPGAOCrjSPi3RsSGhbCnEFtEPSHRsiBVHYUycQvB3p1MmCdHyZZLzl9YwH8dj4NINxYLJphJyW 6irpkMqE3Nak9HuKs0dRmCZRwM5J90EjgFNJ5gI5QoOAMNksjDxO+t3Kn3gx9EM/HZ6u4MjCRhA7 XM8GIGAlF94hm5ayITdVNSVbjmuDRYL6J/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CSdwopZsHcrRG4p02jD6eh6Xt7MqzKE2FV6lviy/X97/KD+I0z94pt04Zyham les9VrJuk1EJlMYnC6EQqdbbsqrTc+HfWHImtvzookXzTcqqFVjoPea/BrJSi4fZnI7xCpSyKqdf kZCP5UNbSxzVoMzIqjlX6emzfxRfExZFLHJkrXulJHCLSlYR/laVRfH5ZkMMxXK6SgJv6Q+AxBJW HasKBsLAg4fq0Jt+6AaZx9lGZe9gzTaqU1SJP1/m7CyVSywVx+cYUUAidlwOYiNG4QETgZdkp9FS yly9rWbOsYFheGAxXuVhzRi9FlssSZxsMg85SH37TUBsnrbNqqojDf3WDmWr8UioTWb8xthoxMos aWHIl4j/ICxLoyhQG/rhg5g5iSVmf+oYq//+F/75rxf1/M/e7l4X/3+NVvv7XxNHzHqbmHXBv2OC 3wnTnfpzMFjFtURh2A864CctftXrCZ6yYcTCKAvhUt/Gfsynjh/oe54k+MFxr6f+mMk/wDa4O4vY BpZbH7Bv/2Mjf3Ljp3RE56fw/L8vfjr8aL8/vrSPzj58OL6kQniCM6qUHdDfhcHYGqcjDAWG4FNY NuXJNRvSJ+xTjWQpLg/cp9H7rdfbQMr+1dLrWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWv/ju3/AFp07kcAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"