#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=7830a4deedf97f08a1e60c673c3bb43af8fc0881 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 H4sIAK2iLWcAA+08a3PbRpL5zF8xK8UF0CFBvWyntKF9ivyI7mRJJSnrS+kUFAgMRVgggMMAkrhb yW+/7p4ZvElKm9h7dYepskkOenp6+jU90w0tnFsxWsB/9tzxQytefPPnty1or168wM/tVy+26ff2 q1f0Cd+2tvZefbO992p7d3dne3sL+re3d7e2v2FbX4CWRstE6iSMfY2p/je2zb+MMpGMJn444uEd ixfpLAp3ehsbG72yVrAh+8BDnjgpZ4fffcemSTRnvwAAOzq3er2fBRcM4S1HeIHF2Cc/CFg68wWb cJbw+8RPUx4yR0JJrPjtDc1E2Gx7mqVZwm2b+fM4SlIWJ36YQm/opn4U9nqqWyxETw3x+N0k8wPP ugHk6jFNgGRIGPymH02jZO6kSMV0nsrHbpRw/ZgnSZTIbs9JHTtwwhv97PP38sF84cax7pwvAn8i +3FW3Z0mTihwruYjoNMGBIr+dBH7xRTHvkiJHR6fstMY1yzM/n6PQdtEWL7PzD4bvmZRnMZOIrgl oc7we0JwG+cceBgK5oQIBQ8ZQSbMD0HRQ5dbGz2CjNm4HY/Zl88tx/NsicM0hsMwGsYJT9PFkMQy nHPQFE8YA4KuNI+LdGxIaFsKcQW0Q9IdGyIFUdhTJxC8HenUyYJ0fJlkvOXxjAfx2Pg0g3lgsWmE nJbqKumQyoTc1qT0e4qzh1GYJlHAzkj3QSOAU0nmAjlCg4Aw2SyMPE763cqfeDH0Qz8dnqzgyMJG EDtczwYgYCUX3iOblrIhN1W1JFvOa4NFgvon/L8zPw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SNH6Cqy7khvZBKJdb4QTiJG6V040DO1ki80sHQx/uwtJ1d+S16U+FV6tPiy/X9r/KF OM2z98qtU4aqhWnlfP9K1m0yKoHR+GQhDCLVeltWdeoX/o0lV2LLovsWzTcpq1JgoeeY/xjISh0e ZnO6xitQyqqMfkVCPpaPbC1xVIMyI6vmXKWnz/5RvE1YFDHImbXulZKALSpZRfhbVRbF65sNMRTb 6SoJvKM/ABJLWHWtKhgIAy8YqlNv+qEbZB5nG5UzgjXbqC5RJX58mbOxVC6pVBydY0QBidhxOYiN GIUXSQRekp1GSylT9bSaOcUGhuGBxXiVzpoxei22WJI42WQecpD69puA2Dxtm1VVRxr6rQPKVuOR UJvM+I2x0YiVWdLCkC8R/0FYlkZRoA7uwwcxcxJLzP7UOVb//S/8818v6/mfvd3dLv7/Gq32978m jpj1NjHrgn/HBN8Tpl/qz8FgFc8ShWE/6ICftPh1ryd4yoYRC6MshK/6Z+zHfOr4gf7NkwRfOO71 1B8z+QfYBndnEdvActt99u2/beQ9N35KV3F+Cv3/efHTwbn94ejSPjz9+PHokgqhCc6oUrZPfxcG Y2tcjjAUGIJPYduUN9RsSK+wTzWSpbg8cJ9G77debwMp+1dLr2td61rXuta1rnWta13rWte61rWu da1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWu/X9s/wP7htHYAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"