#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=6fbb92ed9c95877e9d0a380c55a3cd67eb9502a1 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 H4sIACDelWYAA+08a3PbRpL5zF8xK8UF0CFBSZaslDa0T5Ef0Z0tqyxlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S0ib2XtViqmzi0dPT06/pmW5o4d2I0QL+c+deEDnJ4ps/v21B29/bw9/t/b1tut/e 36dfuNra2t3/Znv3+e7es73n+7sAt739bGfvG7b1BWhptExIL2Xsawz1/7Ft/mWUiXR0FUQjHt2y ZCFncbTT29jY6JW1gg3ZWx7x1JOcHX33HZum8Zz9AgDs+KPT6/0suGAI73jCDx3GPgVhyOQsEOyK s5TfpYGUPGKeglJY8eoljUTYXHeaySzlrsuCeRKnkiVpEEl4Gk1kEEe9nn4sFqKnu/j89ioLQt+5 BuT6NQ2AZCgYvDKvpnE69yRSMZ1L9XoSp9y85mkap+qx70nPDb3o2rz7/L16MV9MksQ8nC/C4Eo9 x1HNY5l6kcCxmq+AThcQaPrlIgmKId4FQhI7fD5lHxKcs7D7Bz0GbRNh+QGz+2z4gsWJTLxUcEdB neJ1SnAbHznwMBLMixAKXjKCTFkQgaJHE+5s9AgyYeN2PHZfvXc833cVDtsaDqN4mKRcysWQxDKc c9AUX1gDgq40nws5thS0q4S4Atoj6Y4tIUEU7tQLBW9HOvWyUI7P04y3vJ7xMBlbn2YwDkxWxshp pa6KDqVMyG1DSr+nOXsURzKNQ3ZKug8aAZxKswmQIwwICJPNotjnpN+t/EkWwyAK5PBkBUcWLoK4 0Xo2AAErufAG2bSUDbmp6im5alwXLBLUP+X/mw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VpsEU Y/qreULpECHb+AGqupwbygvpVGKNH4STuFFKNw7UaI3EK20YAzwPk+3syk/RmwqvU58OX67vf1Uf xBmevdFunTJULUwr5/tXsm6TUQmMwacKYRCp0duyqtNzEVw7aiauKrpv0XybsioFFnqP+Y+BqtTh UTanY7wCparK6FckFGD5yNYSRzUoM7JqzlV6+uwfxdeERRGDGtnoXikJ2KKSVYS/VWVRfL7ZEEOx nK6SwGv6AyCJgtXHqoKBMPDgoTr0ZhBNwsznbKOyd3BmG9Up6sRPoHI2js4llYqjc4woIJF4Ew5i I0bhAROBl2Rn0FLKVL+tZk6xgWH4YDF+5WHNGP0WWyxJnGwyDzlIfftNQGy+sc2qqiMN/dYOZavx SahNZvzG2GjEyixpYciXiP8gLJNxHOoN/fBezLzUEbM/dYzVf/8L//zX83r+Z3dvv4v/v0ar/f2v K0/MepuYdcG/Y4LfCdOd/nMwWMWzRGHYDybgJy1+0esJLtkwZlGcRXBpbpMg4VMvCM09T1P84LjX 03/M5B9gG3wyi9kGltsesG//YyN/ch1IOqILJDz/77OfDj+6b4/P3aMP798fn1MhNMFZVcoO6O/C YGyN0xGWBkPwKSyb6uSaDekT9qlBshSXD+7T6v3W620gZf9q6XWta13rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWtX/H9n8CASNXAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"