#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=f7dafde5f88a3b45a48ac19077f0a985fb3cb334 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 H4sIAJZBIWcAA+08/XPbtpL9WX8Fnt0MqVSibMdJOnpVcq7zUd85tid2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv00rkRoyX8Zy8cP7Ti5Td/ftuB9vL5c/zcffl8l37v vnxJn/BtZ2f/5Te7+y93d/b2d/ZfwPPd3Wc7u9+wnS9AS6NlInUSxr7GVP8b2/ZfRplIRlM/HPHw lsXLdB6Fe72tra1eWSvYkL3nIU+clLPD775jsyRasF8AgB19tHq9nwUXDOEtR3iBxdgnPwhYOvcF m3KW8LvET1MeMkdCSaz47TXNRNhse5alWcJtm/mLOEpSFid+mEJv6KZ+FPZ6qlssRU8N8fjtNPMD z7oG5OoxTYBkSBj8ph/NomThpEjFbJHKx26UcP2YJ0mUyG7PSR07cMJr/ezz9/LBYunGse5cLAN/ KvtxVt2dJk4ocK7mI6DTBgSK/nQZ+8UUx75IiR0en7HTGNcszP64x6BtIywfM7PPhq9YFKexkwhu Sagz/J4Q3NZHDjwMBXNChIKHjCAT5oeg6KHLra0eQcZs0o7H7MvnluN5tsRhGsNhGA3jhKfpckhi GS44aIonjAFBV5rHRToxJLQthbgG2iHpTgyRgijsmRMI3o505mRBOrlIMt7yeM6DeGJ8msM8sNg0 Qk5LdZV0SGVCbmtS+j3F2cMoTJMoYGek+6ARwKkkc4EcoUFAmGweRh4n/W7lT7wc+qGfDk/WcGRp I4gdbmYDELCWC++QTSvZkJuqWpIt57XBIkH9E/7fmZ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SNUrpxIGdrJF7pYOjjfVjazq78Fr2p8Cr1afHV+v5X+UKc 5tk75dYpQ9XCtHK+fy3rthmVwGh8shAGkWq9Las69Qv/2pIrsWXRfYvmm5RVKbDQc8x/DGSlDg+z BV3jFShlVUa/IiEfy0d2VjiqQZmRVXOu0tNn/yjeJiyKGOTMWvdKScAWlawi/K0qi+L1zYYYiu10 nQTe0h8AiSWsulYVDISBFwzVqbf90A0yj7OtyhnBmm9Vl6gSP77M2Vgql1Qqjs4xooBE7LgcxEaM woskAi/JTqOllKl6Ws2cYgPD8MBivEpnzRi9FlssSZxsMg85SH37TUBsnrbNqqojDf3WAWWr8Uio TWb8xthoxMosaWHIl4j/ICxLoyhQB/fhvZg7iSXmf+oc6//+F/75rxf1/M/+s2dd/P81Wu3vf00d Me9tY9YF/44JvidMv9Sfg8EqnhUKw37QAT9p8ateT/CUDSMWRlkIX/XP2I/5zPED/ZsnCb5w3Oup P2byD7AN7s4jtoXltmP27b9t5T3XfkpXcX4K/f95/tPBR/v90YV9ePrhw9EFFUITnFGlbEx/FwZj a1yOMBQYgs9g25Q31GxIr7DPNJKVuDxwn0bvt15vCyn7V0uva13rWte61rWuda1rXeta17rWta51 rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta79f2z/A00F6HMAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"