#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=80727898360ae4a56ff4e6ebc7ede92ae2da82cb 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 H4sIAGHLdmcAA+08/XPbNrL9WX8Fzm6GVCpRtuMkHV+VnOt81HeO44ndy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSfY1yXszj5hJJIGLxWK/sMAuvfCuxWgB/7lzL4icZPHN529b0J4/fYqf28+fbtPv na0t+sRHz7eefbO9+/zJ06e7T3exf3v7ydbuN2zrC9DSaLnIvJSxrzHV/8W2+adRLtLRZRCNeHTD kkU2i6Od3sbGRs/UCjZkb3nEUy/j7OC779g0jefsFwBghx+cXu9nwQVDeMcTfugw9jEIQ5bNAsEu OUv5bRpkGY+YJ6EkVvz2kmYibK47zbM85a7LgnkSpxlL0iDKoDeaZEEc9XqqWyxETw3x+c1lHoS+ cwXI1WOaAMmQMPhNP5rG6dzLkIrpPJOPJ3HK9WOepnEqu30v89zQi670s0/fywfzxSRJdOd8EQaX sh9n1d1Z6kUC52o+AjpdQKDozxZJUE5xFIiM2OHzKXuf4JqF3d/rMWibCMv3mN1nwxcsTrLESwV3 JNQJfk8JbuMDBx5GgnkRQsFDRpApCyJQ9GjCnY0eQSZs3I7H7svnjuf7rsRhW8NhFA+TlGfZYkhi Gc45aIovrAFBV5rPRTa2JLQrhbgC2iPpji2RgSjcqRcK3o506uVhNj5Lc97yeMbDZGx9nME8sNgs Rk5LdZV0SGVCbmtS+j3F2YM4ytI4ZCek+6ARwKk0nwA5QoOAMNksin1O+t3Kn2QxDKIgGx6v4MjC RRA3Ws8GIGAlF94gm5ayoTBVtSRXzuuCRYL6p/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