#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=a3b3a609bec59b159ab4f90c432613fdb7d1bc27 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 H4sIAKSQvmcAA+08/XPbtpL9WX8Fnt0MyVSiP+LUGb0qOdf5qO8SxxO7r9fxUzk0CVmMKZJHULb1 3rR/++0uAJKgKMm5Jnk3d8RMLAlcLPYLi8UumIV/I3aK3E/EJM1nbrb45vO3XWjfHxzg597h0z36 vb+7S5/QdbD/9Mk3eweHT+HZ7t7u/je7e3tP9g+/YbtfgJalNheFnzP2Nab639i2trZ6dfWzASvm ecKm6Sy95glP54IlUfzM9UUYs5xnORc8KaI0YVFSpGzKC55ryN4CrKkB6SNsD6eZ5OmMed5kDhNw z2PRLEvzgmU5IILeJCBIBRby26t5FIcuoHaRAI/QqjHJrR/PeV99etW3om04UmUMt9+l4TyGUWdA eu7P+myWhjBmUn7xin6PPaTdFIsMENEHDGKimKm/+OuG32f5g3GdJDDkIr3hSZ+dR9eJj4Lqs1N/ xi8AvaNkM1sEWebOFnF0pRmK0+s+K/xrcRcVwVTBAUlRcq1BAl8A9reRKHo9j41wSK/XA1bZO1gC P/LzxewqjW2UozMkercRAx8yW8vWYYPnwFpOT6MJydyFWW2H/WVU6sKVmIYlz7kfCc6OhOA5avhV nqe5bb26z3hQ8JBJ8D67Tgv2SFjsEWFyaHjOyRiRdkWFq8EJyBUGD8jdZg4Q6lL3jDcwg8APZgWB H8yIBJZsRAWfaVYu9GoEtPlmbpSJ9Qjk5zMPHzLJAHWBRUwr05D4mC+QFF4xBgLADrvkG2zRGRpm qxDXWSCDVXM6BnCcBgBLtmxbmV9MrT6zguk8uY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