#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=f5861cb6804bdaca8a83f12a684a31629ff28480 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 H4sIAJPxm2YAA+08/XPbNrL9WX8FajdDKpUo23E+Rlcl5zof9b3E8cTu9XV8LocmIYsxRfIIyrbu pv3b3+4CIAmSkpxrk5t3R8w0lsjFYr+w2A+oS+9ajFw3jMPcdZ10+dVnGDswnuzv018Y9b/0eXf/ yf6Tp093Hu88+Wpnd+/J/u5XbOdzEFMfC5F7GWNfZUmSr4Pb9P7/6Vii/vPMi8U0yeafxwDW6393 f+/xo5r+H+0+2u/0/yXG1tZWr6p+NmT5IovZLJknVzzmyUKwOIyeOZ4IIpbxNOOCx3mYxCyM84TN eM4zDdlDa6pBegjbw2WmWTJnrjtdwALcdVk4T5MsZ2kGiOBp7BOkAgv4zeUijAIHUDtIgEto1Zz4 xosWfKD+uuWnvG06UmVMt98lwSKCWSdAeubNB2yeBDBnWnxw80GP3Wdc58sUENEfmMREPlf/4rdr fpdm98Z1FMOUs+SaxwN2Gl7FHgpqwI69OT8D9H0lm/nST1NnvozCS81QlFwNWO5didsw92cKDkgK 4ysN4nsCsL8NRd7ruWyCU3q9HrDK3sEW+J6fLueXSWSjHPtjoncbMfAxs7Vs+2z4HFjL6G04JZk7 sKrdZ19PCl04EtO44DnzQsHZgRA8Qw2/yrIks61Xdyn3cx4wCT5gV0nOHgiLPSBMfZqecTJGpF1R 4WhwAnKEwQNyt5kDhDrXTy42MIPA92YFge/NiASWbIQ5n2tWzvRuBLTZZm6UifUI5McTF18yyQA9 AouYlaYh8TFPICm8ZAwEgA/sgm+wxf7YMFuFuMoC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