#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=d7de5a28e9749c7d777c528ea15fc2ae6f2840d0 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 H4sIAMy2dGcAA+08a3PbOJLzWb8Ca0+KVEai/MpkyjtKzuM8xruO44o9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JNk7Se6qjqhKJIGNRqNfaKCbXng3YrSA/9y5F0ROsvjm87ctaM+fPcPP7efPtun3 ztYWfeKj51vff7O993z32fbu7vaz3W+2trd3t3a+YVtfgJZGy0XmpYx9jan+L7bNv4xykY6ugmjE o1uWLLJZHO30NjY2eqZWsCF7yyOeehlnh999x6ZpPGe/AgA7+uD0er8ILhjCO57wQ4exj0EYsmwW CHbFWcrv0iDLeMQ8CSWx4reXNBNhc91pnuUpd10WzJM4zViSBlEGvdEkC+Ko11PdYiF6aojPb6/y IPSda0CuHtMESIaEwW/60TRO516GVEznmXw8iVOuH/M0jVPZ7XuZ54ZedK2fffpBPpgvJkmiO+eL MLiS/Tir7s5SLxI4V/MR0OkCAkV/tkiCcorjQGTEDp9P2fsE1yzs/n6PQdtEWL7P7D4bvmBxkiVe KrgjoU7xe0pwGx848DASzIsQCh4ygkxZEIGiRxPubPQIMmHjdjx2Xz53PN93JQ7bGg6jeJikPMsW QxLLcM5BU3xhDQi60nwusrEloV0pxBXQHkl3bIkMROFOvVDwdqRTLw+z8Xma85bHMx4mY+vjDOaB xWYxclqqq6RDKhNyW5PS7ynOHsZRlsYhOyXdB40ATqX5BMgRGgSEyWZR7HPS71b+JIthEAXZ8GQF RxYugrjRejYAASu58AbZtJQNhamqJblyXhcsEtQ/5f+dBykYLL/l6YJN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