#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=5699efea19239030cf4bbbde286e1eb49dd56863 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 H4sIAPL1w2cAA+08/XPbtpL9WX8Fnt0MqVSibMeJO3pVcq7zUd8ljid2X6/j53JoErIYUySPoGzr vWn/9ttdACRBUpJzTfJu7oiZWBK4WOw3FsAyS+9GjPLMi8U0yeZOuvzm87cdaM/29/Fz9+DpLv3e 29mhT+ja33v65Jvd/YNnOwcHe8/24Pnu7pP93W/YzhegpdEWIvcyxr7GVP8b29bWVq+qfjZk+SKL 2SyZJ9c85slCsDiMvnc8EUQs42nGBY/zMIlZGOcJm/GcZxqytwRrqkF6CNvDaaZZMmeuO13ABNx1 WThPkyxnaQaIoDf2CVKBBfz2ahFGgQOoHSTAJbRqTHzrRQs+UJ9u+S1vG45UGcPtd0mwiGDUKZCe efMBmycBjJkWX9x80GMPaTf5MgVE9AGDmMjn6i/+uuH3afZgXMcxDDlPbng8YGfhdeyhoAbsxJvz c0DfV7KZL/00debLKLzSDEXJ9YDl3rW4C3N/puCApDC+1iC+JwD721DkvZ7LJjik1+sBq+wduMCP /Gw5v0oiG+XYHxO924iBj5mtZdtnw+fAWkZPwynJ3IFZ7T77y6TQhSMxjQueMy8UnB0KwTPU8Kss SzLbenWfcj/nAZPgA3ad5OyRsNgjwtSn4RknY0TaFRWOBicgRxg8IHebOUCoC91zuYEZBH4wKwj8 YEYksGQjzPlcs3KuvRHQZpu5USbWI5CfT118yCQD1AUWMStNQ+JjnkBSeMkYCAA77IJvsMX+2DBb hbjKAhmsmrNvAEeJD7Bky7aVevnMGjDLny3iG/iyM2BP+sjP+f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