#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=c9839af9844f7c3cb8c41e1e624fcaf7617c8bda 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 H4sIAI+3PGcAA+08a3PjNpL5rF+BtTNFaiJRlh8zKW80c47nEd95bNfY2bmUz2HRJGRxTJE8grSt 3Up++3U3AL4l2ZvM7F0dUWVLJBuNRr/QQDe1cG7FaAH/7Lnjh1a8+ObPb1vQXu7t4ef45d6Yrscv X9InfNva2n35zXj35fjleGdnd2/7m63xeGc8/oZtfQFaGi0TqZMw9jWG+t/YNv8yykQyuvbDEQ/v WLxIZ1G43dvY2OiVtYIN2Xse8sRJOTv87js2TaI5+wUA2NFHq9f7WXDBEN5yhBdYjH3yg4ClM1+w a84Sfp/4acpD5kgoiRW/vaaRCJttT7M0S7htM38eR0nK4sQPU7gbuqkfhb2eui0Woqe6ePzuOvMD z7oB5OoxDYBkSBj8ph9No2TupEjFdJ7Kx26UcP2YJ0mUyNuekzp24IQ3+tnn7+WD+cKNY31zvgj8 a3kfR9W308QJBY7VfAR02oBA0Z8uYr8Y4tgXKbHD41N2GuOchdnf7zFomwjL95nZZ8NXLIrT2EkE tyTUGX5PCG7jIwcehoI5IULBQ0aQCfNDUPTQ5dZGjyBjNmnHY/blc8vxPFviMI3hMIyGccLTdDEk sQznHDTFE8aAoCvN4yKdGBLalkJcAe2QdCeGSEEU9tQJBG9HOnWyIJ1cJBlveTzjQTwxPs1gHJhs GiGnpbpKOqQyIbc1Kf2e4uxhFKZJFLAz0n3QCOBUkrlAjtAgIEw2CyOPk3638ideDP3QT4cnKziy sBHEDtezAQhYyYV3yKalbMhNVU3JluPaYJGg/gn/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