#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=0f30fbd373adea6fc30ef8c052800adffeffdbf8 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 H4sIAKXzkmYAA+08a3PbRpL5zF8xK8UF0CFBSZbslDa0T5Ef0Z0tqSRlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S8ib2XtViqmzi0dPT06/pmW5o4d2K0QL+c+deEDnJ4ps/v21Be7G3h7/bL/a26X77 xQv6hautrd0X32zvPt/d3Xuxvbf37Jut7e1nO1vfsK0vQEujZUJ6KWNfY6j/j23zL6NMpKPrIBrx 6I4lCzmLo53exsZGr6wVbMje8YinnuTs8Lvv2DSN5+wXAGBHZ06v97PggiG84wk/dBj7GIQhk7NA sGvOUn6fBlLyiHkKSmHFq1c0EmFz3Wkms5S7LgvmSZxKlqRBJOFpNJFBHPV6+rFYiJ7u4vO76ywI fecGkOvXNACSoWDwyryaxunck0jFdC7V60mccvOap2mcqse+Jz039KIb8+7T9+rFfDFJEvNwvgiD a/UcRzWPZepFAsdqvgI6XUCg6ZeLJCiGeB8ISezw+ZSdJDhnYff3ewzaJsLyfWb32fAlixOZeKng joI6xeuU4DbOOPAwEsyLEApeMoJMWRCBokcT7mz0CDJh43Y8dl+9dzzfdxUO2xoOo3iYpFzKxZDE Mpxz0BRfWAOCrjSfCzm2FLSrhLgC2iPpji0hQRTu1AsFb0c69bJQji/SjLe8nvEwGVsfZzAOTFbG yGmlrooOpUzIbUNKv6c5exhHMo1Ddkq6DxoBnEqzCZAjDAgIk82i2Oek3638SRbDIArk8HgFRxYu grjRejYAASu58BbZtJQNuanqKblqXBcsEtQ/5f+bBSkYLL/j6Y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NowBnofJdnblp+hNhdepT4cv1/e/ qg/iDM/eardOGaoWppXz/StZt8moBMbgU4UwiNTobVnV6bkIbhw1E1cV3bdovk1ZlQILvcf8x0BV 6vAom9MxXoFSVWX0KxIKsHxka4mjGpQZWTXnKj199o/ia8KiiEGNbHSvlARsUckqwt+qsig+32yI oVhOV0ngDf0BkETB6mNVwUAYePBQHXoziCZh5nO2Udk7OLON6hR14idQORtH55JKxdE5RhSQSLwJ B7ERo/CAicBLsjNoKWWq31Yzp9jAMHywGL/ysGaMfostliRONpmHHKS+/SYgNt/YZlXVkYZ+a4ey 1fgk1CYzfmNsNGJllrQw5EvEfxCWyTgO9YZ++CBmXuqI2Z86xuq//4V//ut5Pf+zu7fTxf9fo9X+ /te1J2a9Tcy64N8xwe+E6U7/ORis4lmiMOwHE/CTFr/s9QSXbBizKM4iuDS3SZDwqReE5p6nKX5w 3OvpP2byD7ANPpnFbAPLbffZt/+xkT+5CSQd0QUSnv/3+U8HZ+67owv38OTDh6MLKoQmOKtK2T79 XRiMrXE6wtJgCD6FZVOdXLMhfcI+NUiW4vLBfVq933q9DaTsXy29rnWta13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17r279j+D/Is4PYAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"