#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=6e5ce1843563ea52c8a22913b44f8740c15a7905 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 H4sIALLwGmcAA+08/VPjxpL52X/FPMiW5I0tAwu7KV68e4T9CHcsUEDeXoojKlkaYy2ypNNIgN+r 5G+/7p4ZfduGl+y+qztNFdiSenp6+mt6plteOLditIB/9tzxQytefPPnty1or/b28HP71d42XW+/ ekWf8G1ra/fVN9u7r7Ze7r3a2t5++Q38e7G9/Q3b+gK0NFomUidh7GsM9b+xbf5llIlkNPHDEQ/v WLxIZ1G409vY2OiVtYIN2Qce8sRJOTv87js2TaI5+wUA2NG51ev9LLhgCG85wgssxj75QcDSmS/Y hLOE3yd+mvKQORJKYsVvb2gkwmbb0yzNEm7bzJ/HUZKyOPHDFO6GbupHYa+nbouF6KkuHr+bZH7g WTeAXD2mAZAMCYPf9KNplMydFKmYzlP52I0Srh/zJIkSedtzUscOnPBGP/v8vXwwX7hxrG/OF4E/ kfdxVH07TZxQ4FjNR0CnDQgU/eki9oshjn2REjs8PmWnMc5ZmP39HoO2ibB8n5l9NnzNojiNnURw S0Kd4feE4DbOOfAwFMwJEQoeMoJMmB+CoocutzZ6BBmzcTsesy+fW47n2RKHaQyHYTSME56miyGJ ZTjnoCmeMAYEXWkeF+nYkNC2FOIKaIekOzZECqKwp04geDvSqZMF6fgyyXjL4xkP4rHxaQbjwGTT CDkt1VXSIZUJua1J6fcUZw+jME2igJ2R7oNGAKeSzAVyhAYBYbJZGHmc9LuVP/Fi6Id+OjxZwZGF jSB2uJ4NQMBKLrxHNi1lQ26qakq2HNcGiwT1T/h/Z34CBsvveLJgU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