add a message for the unwary runner of scripts

This commit is contained in:
James Andariese 2023-10-17 00:36:08 -05:00
parent f59dcc6f0a
commit 27c4ccfe85

View File

@ -18,6 +18,11 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
set -e
if [ x = x"$GIT_DIR" ];then
1>&2 echo "Please see $(dirname "$0")/README.md for instructions"
exit 1
fi
export IMAGE=alpine/git:latest
export CONTEXT="$(echo "${2#*://}" | cut -d / -f 1)"