Improve error message

This commit is contained in:
Carles Pina i Estany 2021-04-25 11:26:51 +01:00
parent 9b1e7ac6a5
commit 8e9bfb00e6

View File

@ -34,7 +34,7 @@ mv "$CLONE_DIR/.git" "$TARGET_DIR"
if [ ! -d "$SOURCE_DIRECTORY" ] if [ ! -d "$SOURCE_DIRECTORY" ]
then then
echo "$SOURCE_DIRECTORY does not exist" echo "ERROR: $SOURCE_DIRECTORY does not exist"
echo "This directory needs to exist when push-to-another-repository is executed" echo "This directory needs to exist when push-to-another-repository is executed"
echo echo
echo "In the example it is created by ./build.sh: https://github.com/cpina/push-to-another-repository-example/blob/main/.github/workflows/ci.yml#L19" echo "In the example it is created by ./build.sh: https://github.com/cpina/push-to-another-repository-example/blob/main/.github/workflows/ci.yml#L19"