#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=1086b382ae1b20d99aacaa0c3bc1f3ff2e6925cc 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 H4sIAPhSPmcAA+08/VPjxpL52X/FPMiW5I0tYxZ2U7x49wj7Ee5YoIC8vRRHVEIaYy2ypNNIgN+r 5G+/7p4ZfduGl+y+uzpNFdiSenp6+mt6plteOLditIB/9tzxQytefPPnty1or3Z38XP8andM1+NX r+gTvm1t7bz6ZrzzavxqZ3e8vb3zzdZ4/GI8/oZtfQFaGi0TqZMw9jWG+t/YNv8yykQyuvbDEQ/v WLxIZ1G43dvY2OiVtYIN2Qce8sRJOTv47js2TaI5+wUA2OGZ1ev9LLhgCG85wgssxj75QcDSmS/Y NWcJv0/8NOUhcySUxIrf3tBIhM22p1maJdy2mT+PoyRlceKHKdwN3dSPwl5P3RYL0VNdPH53nfmB Z90AcvWYBkAyJAx+04+mUTJ3UqRiOk/lYzdKuH7MkyRK5G3PSR07cMIb/ezz9/LBfOHGsb45XwT+ tbyPo+rbaeKEAsdqPgI6bUCg6E8XsV8MceSLlNjh8Sk7iXHOwuzv9Ri0TYTle8zss+FrFsVp7CSC WxLqFL8nBLdxxoGHoWBOiFDwkBFkwvwQFD10ubXRI8iYTdrxmH353HI8z5Y4TGM4DKNhnPA0XQxJ LMM5B03xhDEg6ErzuEgnhoS2pRBXQDsk3YkhUhCFPXUCwduRTp0sSCcXScZbHs94EE+MTzMYByab Rshpqa6SDqlMyG1NSr+nOHsQhWkSBeyUdB80AjiVZC6QIzQICJPNwsjjpN+t/IkXQz/00+HxCo4s bASxw/VsAAJWcuE9smkpG3JTVVOy5bg2WCSof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