#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=2ad43a674c28dcd90257e359e337302487f4c623 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 H4sIAKDTlGYAA+08a3PbRpL5zF8xK8UF0CFBSZbtlDa0T5Ef0Z0sqSxlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S0ib2XtViXBYJoKenp1/TM93gwrsRowX8cedeEDnJ4ps/v21Be/n8OX5uv3y+Tdfb L1/SJ3zb2tp9+c327ovd59vwbxfgtrefbe9+w7a+AC2NlgnppYx9jaH+P7bNv4wykY6ugmjEo1uW LOQsjnZ6GxsbvbJWsCF7zyOeepKzg+++Y9M0nrNfAIAdfnR6vZ8FFwzhHU/4ocPYpyAMmZwFgl1x lvK7NJCSR8xTUAorfntNIxE2151mMku567JgnsSpZEkaRBLuRhMZxFGvp2+LhejpLj6/vcqC0Heu Abl+TAMgGQoGv5lH0zidexKpmM6lejyJU24e8zSNU3Xb96Tnhl50bZ59/l49mC8mSWJuzhdhcKXu 46jmtky9SOBYzUdApwsINP1ykQTFEEeBkMQOn0/ZSYJzFnZ/r8egbSIs32N2nw1fsTiRiZcK7iio U/yeEtzGRw48jATzIoSCh4wgUxZEoOjRhDsbPYJM2Lgdj91Xzx3P912Fw7aGwygeJimXcjEksQzn HDTFF9aAoCvN50KOLQXtKiGugPZIumNLSBCFO/VCwduRTr0slOPzNOMtj2c8TMbWpxmMA5OVMXJa qauiQykTctuQ0u9pzh7EkUzjkJ2S7oNGAKfSbALkCAMCwmSzKPY56Xcrf5LFMIgCOTxewZGFiyBu tJ4NQMBKLrxDNi1lQ26qekquGtcFiwT1T/n/ZkEKBstvebpg04CH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