#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=445b0d93f9f900e1b666a35bac24d48f8e99d0cd 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 H4sIAGKmfGcAA+08a3PbOJLzWb8Ca0+KVEai/Mp4yjtKzuM8xruJ47I9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JDk7Se6qjqhKJIGNRqNfaKCbXni3YrSA/9y5F0ROsvjm87ctaPvPnuHn9v6zbfq9 s7VFn/hof+v7b7b39nf3t3d2AeSbre3tnf3db9jWF6Cl0XKReSljX2Oq/4tt8y+jXKSj6yAa8eiO JYtsFkc7vY2NjZ6pFWzI3vCIp17G2dF337FpGs/ZrwDAjs+cXu8XwQVDeMcTfugw9iEIQ5bNAsGu OUv5fRpkGY+YJ6EkVvz2gmYibK47zbM85a7LgnkSpxlL0iDKoDeaZEEc9XqqWyxETw3x+d11HoS+ cwPI1WOaAMmQMPhNP5rG6dzLkIrpPJOPJ3HK9WOepnEqu30v89zQi270s48/yAfzxSRJdOd8EQbX sh9n1d1Z6kUC52o+AjpdQKDozxZJUE7xNhAZscPnU/Y+wTULu3/QY9A2EZYfMLvPhs9ZnGSJlwru SKhT/J4S3MYZBx5GgnkRQsFDRpApCyJQ9GjCnY0eQSZs3I7H7svnjuf7rsRhW8NhFA+TlGfZYkhi Gc45aIovrAFBV5rPRTa2JLQrhbgC2iPpji2RgSjcqRcK3o506uVhNr5Ic97yeMbDZGx9mME8sNgs Rk5LdZV0SGVCbmtS+j3F2aM4ytI4ZKek+6ARwKk0nwA5QoOAMNksin1O+t3Kn2QxDKIgG56s4MjC RRA3Ws8GIGAlF14jm5ayoTBVtSRXzuuCR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