#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=24f88a4311889519b2d66d424cb28672a690ddac 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 H4sIAAv2a2cAA+08/XPbNrL9WX8Fzm6GVCpRtuPEHV+VnOt81HeJ44ndy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSfY1yXszj5hJJIGLxWK/sMAuvfCuxWgB/7lzL4icZPHN529b0PaePsXP7b2n2/R7 Z2uLPvHR3tazb7Z3957s7O3tPHu6+83W9vaT7WffsK0vQEuj5SLzUsa+xlT/F9vmn0a5SEeXQTTi 0Q1LFtksjnZ6GxsbPVMr2JC94RFPvYyzw+++Y9M0nrNfAIAdfXB6vZ8FFwzhHU/4ocPYxyAMWTYL BLvkLOW3aZBlPGKehJJY8dsLmomwue40z/KUuy4L5kmcZixJgyiD3miSBXHU66lusRA9NcTnN5d5 EPrOFSBXj2kCJEPC4Df9aBqncy9DKqbzTD6exCnXj3maxqns9r3Mc0MvutLPPn0vH8wXkyTRnfNF GFzKfpxVd2epFwmcq/kI6HQBgaI/WyRBOcXbQGTEDp9P2fsE1yzs/n6PQdtEWL7P7D4bPmdxkiVe KrgjoU7we0pwGx848DASzIsQCh4ygkxZEIGiRxPubPQIMmHjdjx2Xz53PN93JQ7bGg6jeJikPMsW QxLLcM5BU3xhDQi60nwusrEloV0pxBXQHkl3bIkMROFOvVDwdqRTLw+z8Vma85bHMx4mY+vjDOaB xWYxclqqq6RDKhNyW5PS7ynOHsZRlsYhOyHdB40ATqX5BMgRGgSEyWZR7HPS71b+JIthEAXZ8HgF RxYugrjRejYAASu58BrZtJQNhamqJblyXhcsEtQ/5f/MgxQMlt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