#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=50f98a7fdbe7c180b661d23c9e8fa54217d184bb 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 H4sIAGEFu2cAA+08a3PbOJL5rF+BtSdFMiNRfiVOeUfJeZzH+C5xXLFn56a8HhZNQhZjiuQRlG3t 1sxvv+4GQBIUJTk3SfbqjqiKJYGNRr/QaHSDmfs3YljkfiLGaT51s/mjL9+2oD3b28PP7f2n2/R7 Z2uLPqFrb+fp7qPtvf2nz55t7ezu7z/a2t7e3Xv2iG19BVoW2kwUfs7Yt5jqf2Pb2Njo1dXPBqyY 5QmbpNP0mic8nQmWRPFz1xdhzHKe5VzwpIjShEVJkbIJL3iuIXtzsKYGpI+wPZxmnKdT5nnjGUzA PY9F0yzNC5blgAh6k4AgFVjIb69mURy6gNpFAjxCq8Ykt34843316VXfirbhSJUx3H6fhrMYRp0C 6bk/7bNpGsKYcfnFK/o99pB2U8wzQEQfMIiJYqr+4q8bfp/lD8Z1nMCQ8/SGJ312Fl0nPgqqz078 KT8H9I6SzXQeZJk7ncfRlWYoTq/7rPCvxV1UBBMFByRFybUGCXwB2N9Fouj1PDbCIb1eD1hl72EJ /MjP5tOrNLZRjs4B0buJGPgBs7VsHTZ4Aazl9DQak8xdmNV22F9GpS5ciemg5Dn3I8HZoRA8Rw2/ zvM0t63X9xkPCh4yCd5n12nBHguLPSZMDg3PORkj0q6ocDU4AbnC4AG5W88BQl3onss1zCDwg1lB 4AczIoElG1HBp5qVc70aAW2+nhtlYj0C+fnUw4dMMkBdYBGTyjQkPuYLJIVXjIEAsMMu+QZbdA4M s1WI6yyQwao5HQM4TgOAJVu2rcwvJ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