#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=35d73ed52daa94c705c55fcc53c628c8cb32d864 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 H4sIABHBM2cAA+08a3PbRpL5zF8xK8UF0CFBSZbtFDe0T5Ef0Z0sqSxlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN7r+4wZYsE0NPT06/pmW5w6dyI0RL+2AvHD614+c2f33agvXz+HD93Xz7fpevd ly/pE77t7Oy//GZ3/yX829/Ze/7sm53d3We7u9+wnS9AS6NlInUSxr7GUP8b2/ZfRplIRlM/HPHw lsXLdB6Fe72tra1eWSvYkL3nIU+clLPD775jsyRasF8AgB19tHq9nwUXDOEtR3iBxdgnPwhYOvcF m3KW8LvET1MeMkdCSaz47TWNRNhse5alWcJtm/mLOEpSFid+mMLd0E39KOz11G2xFD3VxeO308wP POsakKvHNACSIWHwm340i5KFkyIVs0UqH7tRwvVjniRRIm97TurYgRNe62efv5cPFks3jvXNxTLw p/I+jqpvp4kTChyr+QjotAGBoj9dxn4xxLEvUmKHx2fsNMY5C7M/7jFo2wjLx8zss+ErFsVp7CSC WxLqDL8nBLf1kQMPQ8GcEKHgISPIhPkhKHrocmurR5Axm7TjMfvyueV4ni1xmMZwGEbDOOFpuhyS WIYLDpriCWNA0JXmcZFODAltSyGugXZIuhNDpCAKe+YEgrcjnTlZkE4ukoy3PJ7zIJ4Yn+YwDkw2 jZDTUl0lHVKZkNualH5PcfYwCtMkCtgZ6T5oBHAqyVwgR2gQECabh5HHSb9b+RMvh37op8OTNRxZ 2ghih5vZAASs5cI7ZNNKNuSmqqZky3FtsEhQ/4T/d+YnYLD8lidLNvN54B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ukQkbbxA1R1NTekF1KpxBo/CCdxo5RuHMjRGolX2hj6eB6WtrMrP0VvKrxKfVp8tb7/Vb4Q p3n2Trl1ylC1MK2c71/Lum1GJTAanyyEQaRab8uqTveFf23Jmdiy6L5F803KqhRY6DnmPwayUoeH 2YKO8QqUsiqjX5GQj+UjOysc1aDMyKo5V+nps38UbxMWRQxyZK17pSRgi0pWEf5WlUXx+mZDDMVy uk4Cb+kHQGIJq45VBQNh4AFDdehtP3SDzONsq7JHsOZb1SmqxI8vczaWyiWViqNzjCggETsuB7ER o/AgicBLstNoKWWqnlYzp9jAMDywGK9ys2aMXostliRONpmHHKS+/SYgNk/bZlXVkYZ+a4ey1Xgk 1CYzfmNsNGJllrQw5EvEfxCWpVEUqI378F7MncQS8z91jPW//4U///Winv/Z33/Wxf9fo9V+/2vq iHlvG7Mu+Dsm+J4wXamfg8EqnhUKw37QAT9p8ateT/CUDSMWRlkIX/Vl7Md85viBvuZJgi8c93rq x0z+AbbB3XnEtrDcdsy+/bet/M61n9JRnJ/C/f88/+ngo/3+6MI+PP3w4eiCCqEJzqhSNqbfhcHY GqcjDAWG4DNYNuUJNRvSK+wzjWQlLg/cp9H7rdfbQsr+1dLrWte61rWuda1rXeta17rWta51rWtd 61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWv/H9v/ADqUxPkAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"