#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=3d3221e7d52cd005ff2fb8d8a4d9ff40715661b2 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 H4sIAFVnPWcAA+08a3PbRpL5zF8xK8UF0CFBUZatlDa0T5Ef0Z0sqSRlfSmdgoKAoQgLBHAYQBJ3 K/nt190zgzdJaRN77+owVTbx6Onp6df0TDe0cG7FaAH/2XPHD6148c2f37ag7b58ib/j3Zdjuh/v 7tIvXG1t7ex+M97ZHe9uv3rx4tX2N1vj8Yvxy2/Y1hegpdEykToJY19jqP+NbfMvo0wko2s/HPHw jsWLdBaF272NjY1eWSvYkH3gIU+clLOD775j0ySas18AgB2eWb3ez4ILhvCWI7zAYuyTHwQsnfmC XXOW8PvET1MeMkdCSax49YZGImy2Pc3SLOG2zfx5HCUpixM/TOFp6KZ+FPZ66rFYiJ7q4vG768wP POsGkKvXNACSIWHwSr+aRsncSZGK6TyVr90o4fo1T5IokY89J3XswAlv9LvP38sX84Ubx/rhfBH4 1/I5jqofp4kTChyr+QrotAGBoj9dxH4xxJEvUmKHx6fsJMY5C7O/12PQNhGW7zGzz4avWRSnsZMI bkmoU7xOCG7jjAMPQ8GcEKHgJSPIhPkhKHrocmujR5Axm7TjMfvyveV4ni1xmMZwGEbDOOFpuhiS WIZzDpriCWNA0JXmcZFODAltSyGugHZIuhNDpCAKe+oEgrcjnTpZkE4ukoy3vJ7xIJ4Yn2YwDkw2 jZDTUl0lHVKZkNualH5PcfYgCtMkCtgp6T5oBHAqyVwgR2gQECabhZHHSb9b+RMvhn7op8PjFRxZ 2Ahih+vZAASs5MJ7ZNNSNuSmqqZky3FtsEhQ/4T/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