#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=158ba54de2604aa86e88d8653fecbb55c3077cf7 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 H4sIAM41JGcAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd8ltid2X67jczm0CFmMKZJHkLb1 3rR/++0uAJIgKcl+bfJu7oiZRBK4WCz2Cwvs0gvvRowW8J8794LISRbf/PltC9qLvT383H6xt02/ t1+8oE/4trW1++Kb7d0X29tbz3b29na/2drefra1+w3b+gK0NFouMi9l7GtM9b+xbf5llIt0dBVE Ix7dsmSRzeJop7exsdGragUbsnc84qmXcXb43XdsmsZz9gsAsKOPTq/3s+CCIbzjCT90GPsUhCHL ZoFgV5yl/C4NsoxHzJNQEit+e0UzETbXneZZnnLXZcE8idOMJWkQZdAbTbIgjno91S0WoqeG+Pz2 Kg9C37kG5OoxTYBkSBj8ph9N43TuZUjFdJ7Jx5M45foxT9M4ld2+l3lu6EXX+tnn7+WD+WKSJLpz vgiDK9mPs+ruLPUigXM1HwGdLiBQ9GeLJCineB+IjNjh8yk7SXDNwu7v9xi0TYTl+8zus+FLFidZ 4qWCOxLqFL+nBLfxkQMPI8G8CKHgISPIlAURKHo04c5GjyATNm7HY/flc8fzfVfisK3hMIqHScqz bDEksQznHDTFF9aAoI3mc5GNLQntSiGugPZIumNLZCAKd+qFgrcjnXp5mI3P05y3PJ7xMBlbn2Yw Dyw2i5HTUl0lHVKZkNualH5PcfYwjrI0Dtkp6T5oBHAqzSdAjtAgIEw2i2Kfk3638idZDIMoyIbH KziycBHEjdazAQhYyYW3yKalbChMVS3JlfO6YJGg/in/7zxIwWD5LU8XbBr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