#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=d798afa54c9d67f4fb70fb088ad1428dadde6590 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 H4sIAOjZsmYAA+08bXPbxtH5zF9xleIB6JCgJMsvw4Z2FfklamVZYylNM3oYDAQcRVgggOJASWwn +e3d3bsDcCBISk3sPjPBzcQigb29vd29fbtlFt61GFzx2PXT1EkXX32OsQPj2f4+/t19/nSXvu8+ f05/Yew/e7r/1S7++/Qp/Pvsq53dnefP975iO5+FmtqYi9zLGPsSS/1/HFtbW51S/KzP8nkWswVo heOJIGIZTzMueJx7eZjELIzzhB1+800H502yZMZcdzKHOdx1WThLkyxnaQZQ8DT2cUpHgQX85nIe RoEDqzmI3yX8ao59miVXmTfrsVkSAOyk+ODyHrvOFynvddh9BsEWk9y8x068GT9HBEzks1z+694X HQHDpKMY/rnmd2lGuOmDfNyVG5wtgIV6O7NFFF5Wnjv0QL/NvStxG+b+tMei5EoxCKgN4ysN4nsi 73RcNpIQHWAEe8dj3IYNkD026Q5pA9s4kQ+ZXWyXlnJ+zMKcZ13Wf8lOkph3CPiHUxegACn8Sw+A imlJDmLuMk/g6nxY8Cec0AO1Andwz0ODexPnFpezLRC81e0U73hUn3uWZ6vmfhdewdvH6+cfh6K+ uNwRMkxCEUxP7bXbvBaCfGuZLyvsdc6Rwc1TX9YorHIKR+aFgrMDIXiG6v8my5KMGFtK8dQDTbeb hFiq6hopakJTR2lCxyCQPRLwH0udGJBVVn0DKmuj3jYpj9bn9cqDUMBr/NOkPvh8nf7I09OgPwov yZAOmlprhQgeBbhBBHDC7kNFUeHIGRg1PgPbZqPCLDFFH/31PBE5UA6Ht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