#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=525747da4cc866a77095bffb523630b361740845 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 H4sIAOSKHWcAA+08/XPbtpL9WX8Fnt0MqVSiZMdOOn5Vcq7zUd85tsd2X67jczk0CVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/fhtDe7W7i59br3a36PfW q1f0Cd/G451X32ztvBq/ejHe3R6Pvxlvbb2ADzb+ArQ0WiZSJ2Hsa0z1v7Ft/mWUiWR07YcjHt6x eJHOonC7t7Gx0StrBRuyDzzkiZNydvDdd2yaRHP2CwCwwzOr1/tZcMEQ3nKEF1iMffKDgKUzX7Br zhJ+n/hpykPmSCiJFb+9oZkIm21PszRLuG0zfx5HScrixA9T6A3d1I/CXk91i4XoqSEev7vO/MCz bgC5ekwTIBkSBr/pR9MomTspUjGdp/KxGyVcP+ZJEiWy23NSxw6c8EY/+/y9fDBfuHGsO+eLwL+W /Tir7k4TJxQ4V/MR0GkDAkV/uoj9YoojX6TEDo9P2UmMaxZmf6/HoG0iLN9jZp8NX7MoTmMnEdyS UKf4PSG4jTMOPAwFc0KEgoeMIBPmh6DoocutjR5BxmzSjsfsy+eW43m2xGEaw2EYDeOEp+liSGIZ zjloiieMAUFXmsdFOjEktC2FuALaIelODJGCKOypEwjejnTqZEE6uUgy3vJ4xoN4YnyawTyw2DRC Tkt1lXRIZUJua1L6PcXZgyhMkyhgp6T7oBHAqSRzgRyhQUCYbBZGHif9buVPvBj6oZ8Oj1dwZGEj iB2uZwMQsJIL75FNS9mQm6paki3ntcEiQf0T/t+Zn4D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qcm5IL6RSiTV+EE7iRindOJCzNRKvdDD08T4sbWdXfoveVHiV+rT4cn3/q3wh TvPsvXLrlKFqYVo537+SdZuMSmA0PlkIg0i13pZVnfqFf2PJldiy6L5F803KqhRY6DnmPwayUoeH 2Zyu8QqUsiqjX5GQj+Uj4yWOalBmZNWcq/T02T+KtwmLIgY5s9a9UhKwRSWrCH+ryqJ4fbMhhmI7 XSWBd/QHQGIJq65VBQNh4AVDdepNP3SDzONso3JGsGYb1SWqxI8vczaWyiWViqNzjCggETsuB7ER o/AiicBLstNoKWWqnlYzp9jAMDywGK/SWTNGr8UWSxInm8xDDlLffhMQm6dts6rqSEO/dUDZajwS apMZvzE2GrEyS1oY8iXiPwjL0igK1MF9+CBmTmKJ2Z86x+q//4V//utlPf+z82K7i/+/Rqv9/a9r R8x6m5h1wb9jgu8J0y/152CwimeJwrAfdMBPWvy61xM8ZcOIhVEWwlf9M/ZjPnX8QP/mSYIvHPd6 6o+Z/ANsg7uziG1gue0e+/bfNvKeGz+lqzg/hf7/PP9p/8z+cHhhH5x8/Hh4QYXQBGdUKdujvwuD sTUuRxgKDMGnsG3KG2o2pFfYpxrJUlweuE+j91uvt4GU/aul17Wuda1rXeta17rWta51rWtd61rX uta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rX/j+2/wED7l7TAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"