#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=c915d0c152dea3f2b42be0b15d8783e9d109458a 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 H4sIANt6bWcAA+08/XPbNrL9WX8Fzm6GVCpRtuMkHV+VnOt81HeO47Hdy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSc41yXszj5hJJIGLxWK/sMAuvfBuxGgB/7lzL4icZPHN529b0J4/fYqf28+fbtPv na0t+sRHz7eefbO9+/zJkx14+nz3m63t7SfbO9+wrS9AS6PlIvNSxr7GVP8X2+afRrlIR1dBNOLR LUsW2SyOdnobGxs9UyvYkL3lEU+9jLOD775j0zSes18AgB2eOr3ez4ILhvCOJ/zQYexDEIYsmwWC XXGW8rs0yDIeMU9CSaz47SXNRNhcd5pnecpdlwXzJE4zlqRBlEFvNMmCOOr1VLdYiJ4a4vPbqzwI fecakKvHNAGSIWHwm340jdO5lyEV03kmH0/ilOvHPE3jVHb7Xua5oRdd62cfv5cP5otJkujO+SIM rmQ/zqq7s9SLBM7VfAR0uoBA0Z8tkqCc4igQGbHD51P2PsE1C7u/12PQNhGW7zG7z4YvWJxkiZcK 7kioE/yeEtzGKQceRoJ5EULBQ0aQKQsiUPRowp2NHkEmbNyOx+7L547n+67EYVvDYRQPk5Rn2WJI YhnOOWiKL6wBQVeaz0U2tiS0K4W4Atoj6Y4tkYEo3KkXCt6OdOrlYTY+T3Pe8njGw2RsfZjBPLDY LEZOS3WVdEhlQm5rUvo9xdmDOMrSOGQnpPugEcCpNJ8AOUKDgDDZLIp9Tvrdyp9kMQyiIBser+DI wkUQN1rPBiBgJRfeIJuWsqEwVbUkV87rgkWC+qf8n3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YRUAqIBjlB/1NFYXCk yPDaqDANpmirX80TyoSIrI0foKrLuSEdkMoi1vhBOIkbRqZxIGdr5FzpMBPgVVjWzq7iAr2p8Crr 6fDl+v5n+bKV5tkb5dEpOdXCNDPVv5J1m4yqXzQ+WQODSLXemqpO/SK4duRKXFlv36L5NiVUSiz0 HFMfA1mkw6N8Tjd4JUpZkNGvSCjAypGtJY5qYDKyas5Vevrs3+WbamX9gpxZ656R/2tRySrC36qy KF/5a4ih3ElXSeA1/e2HRMKqG1XBQBh4KK5OvRlEkzD3OduoxOTObKO6RJXzCWS6xlFpJKMuusCI AhKJN+EgNmIUXgQRuCE7jZaypeppNWmKDQzDB4vxK501Y/RbbNGQONlkEW2Q+vabgNh8bZtVVUca +q0DTKvxSahNZvzG2GjETJa0MOSLxX8QlmVxHKoj8/BezLzUEbPPOseav/+0tdvM/+w+2e3i/6/R an//6coTs94mZl3w71jgi6j0S/05EKziWaIw7Acd8JMqv+j1BM/YMGZRnEfwVf9MgoRPvSDUv3ma 4hutvZ76Yxb/BgPhk1nMNrDcdo99+5eNouc6yOgSLMig/x9nP+2fum8Pz92D9+/eHZ5TITTBWVXK 9ujvgmCAjcsRlgJD8CnsnfKamQ3p3eepRrIUlw8+1Or91uttIGX/29LrWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd69r/t/YfW6xj4AB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"