#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=7f7bd39adb08006040aec51db656920bbe48c66b 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 H4sIAOkDgmcAA+08a3PbOJLzWb8Ca0+KVEai/MpkyjtKzuM8xruO44o9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JNk7Se6qjqhKJIGNRqNfaKCbXng3YrSA/9y5F0ROsvjm87ctaM+fPcPP7efPtun3 ztYWfeKj51vff7O993xva29r+/tteL69vfN89xu29QVoabRcZF7K2NeY6v9i2/zLKBfp6CqIRjy6 Zckim8XRTm9jY6NnagUbsrc84qmXcXb43XdsmsZz9isAsKMPTq/3i+CCIbzjCT90GPsYhCHLZoFg V5yl/C4NsoxHzJNQEit+e0kzETbXneZZnnLXZcE8idOMJWkQZdAbTbIgjno91S0WoqeG+Pz2Kg9C 37kG5OoxTYBkSBj8ph9N43TuZUjFdJ7Jx5M45foxT9M4ld2+l3lu6EXX+tmnH+SD+WKSJLpzvgiD K9mPs+ruLPUigXM1HwGdLiBQ9GeLJCinOA5ERuzw+ZS9T3DNwu7v9xi0TYTl+8zus+ELFidZ4qWC OxLqFL+nBLfxgQMPI8G8CKHgISPIlAURKHo04c5GjyATNm7HY/flc8fzfVfisK3hMIqHScqzbDEk sQznHDTFF9aAoCvN5yIbWxLalUJcAe2RdMeWyEAU7tQLBW9HOvXyMBufpzlveTzjYTK2Ps5gHlhs FiOnpbpKOqQyIbc1Kf2e4uxhHGVpHLJT0n3QCOBUmk+AHKFBQJhsFsU+J/1u5U+yGAZRkA1PVnBk 4SKIG61nAxCwkgtvkE1L2VCYqlqSK+d1wSJB/VP+33mQgsHyW54u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