#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=2a29ebeb62b919185812f5cc63a76573fcf20843 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 H4sIAHmydGYAA+08a3PbRpL5zF8xK8UF0CFBSZYdFze0T5Ef0Z0tqyxlfSmdgoKAoQgLBHAYUBJ3 K/nt193zwJOktIm9dbWYKlsk0NPT06/p7pnh0rsWoyX85869MHbS5Td/ftuB9v3Tp/QXWu3v7s7O /vff7O4/e/J098nuzjN4vvtk5+n+N2znC9DSaAuRexlj32RJkq+D2/T+/2nb/stoIbLRZRiPeHzD 0mU+S+K93tbWVq+sFWzI3vKYZ17O2eF337FplszZLwDAjj46vd7PgguG8I4ngshh7FMYRSyfhYJd cpbx2yzMcx4zT0JJrPjpJY1E2Fx3usgXGXddFs7TJMtZmoVxDk9jPw+TuNdTj8VS9FSXgN9cLsIo cK4AuXpNAyAZEgY/6VfTJJt7OVIxnefytZ9kXL/mWZZk8nHg5Z4befGVfvf5uXwxX/ppqh/Ol1F4 KZ/jqPpxnnmxwLGar4BOFxAo+vNlGhZDvAtFTuwI+JR9SHHOwu6PewzaNsLyMbP7bPiCJWmeepng joQ6wc8ZwW195MDDWDAvRih4yQgyY2EMih773NnqEWTKJu147L5873hB4EoctjUcxskwzXieL4ck luGcg6YEwhoQdKUFXOQTS0K7UohroD2S7sQSOYjCnXqR4O1Ip94iyidn2YK3vJ7xKJ1Yn2YwDkw2 T5DTUl0lHVKZkNualH5PcfYwifMsidgJ6T5oBHAqW/hAjtAgIEw2i5OAk3638iddDsM4zIfHaziy dBHEjTezAQhYy4U3yKaVbDCmqqbkynFdsEhQ/4z/7yLMwGD5Dc+W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S8RdXvqCtZaL33cTwSvBKKyq7sh41xqCU7V9YCvD7NIQdie3JRUEUV 3Pdbnw0UI6s50pcW/0fPK+4PtxXavJ+pCF5ohEjthJVZRC5NI1EjK3xyoL3xRbFHQpsZ1V2MbWZf RcklJH+QhvdVVCs/+hHInz4baCSn5vaCptcjqPs7vYoYHuTxaKA1Dk/O7CGWgNOvwWvuNoIiWlnk XFfbIjGx7kNXojxEaINzHdUPs0WlO2hpK61R/XZCzR43x2+qlF0JZGW96A3uf5ofTQgCOdyQ/XLw X6fuycHZT+p7AJl46ecT5K8YgFdPk3SBNzuClxXkpNirIkRjJe0eRQZV8sKtIty2pkmCR3ll12pW iaDdedQv0QJ+kydJpA50D+/EzMscMftTx1j/+1/481/Pavt/+3s7z7r9v6/Rar//demJWW8bb93h 75jgPWH6pn4OZpvWnlaFYT/oHTyqdbzo9SDaY8OExckiho/6axqmfOqFkf7OswwvHPd66sdM/gFm z/1Zwraw3DJm3/7HlnlyFeZ0RSPM4fl/n/508NF9e3TmHn54//7ojAphBGdVKRvT78LgThhOR1gK DMGnYRzIm0tsSFfYpxrJSlxBEnOr91uvt4WU/aul17Wuda1rXeta17rWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWtd61rX/h3b/wGJmTE0AHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"