chore: tweak error message

This commit is contained in:
UdjinM6 2024-11-13 21:09:03 +03:00
parent f4d879a0b3
commit 8ce9bfea59
No known key found for this signature in database
GPG Key ID: 83592BD1400D58D9
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ set -eo pipefail
WORKSPACE_PATH="${1:-$(pwd)}" WORKSPACE_PATH="${1:-$(pwd)}"
if [[ ! -d "${WORKSPACE_PATH}" || ! "${WORKSPACE_PATH}" = /* || ! -f "${WORKSPACE_PATH}/contrib/guix/libexec/prelude.bash" ]]; then if [[ ! -d "${WORKSPACE_PATH}" || ! "${WORKSPACE_PATH}" = /* || ! -f "${WORKSPACE_PATH}/contrib/guix/libexec/prelude.bash" ]]; then
echo "${0}: ${WORKSPACE_PATH} is not a valid directory, exiting!" echo "${0##*/}: ${WORKSPACE_PATH} is not the top directory of the Dash Core repository, exiting!"
exit 1 exit 1
fi fi

View File

@ -5,7 +5,7 @@ set -eo pipefail
WORKSPACE_PATH="${1:-$(pwd)}" WORKSPACE_PATH="${1:-$(pwd)}"
if [[ ! -d "${WORKSPACE_PATH}" || ! "${WORKSPACE_PATH}" = /* || ! -f "${WORKSPACE_PATH}/contrib/guix/guix-build" ]]; then if [[ ! -d "${WORKSPACE_PATH}" || ! "${WORKSPACE_PATH}" = /* || ! -f "${WORKSPACE_PATH}/contrib/guix/guix-build" ]]; then
echo "${0}: ${WORKSPACE_PATH} is not a valid directory, exiting!" echo "${0##*/}: ${WORKSPACE_PATH} is not the top directory of the Dash Core repository, exiting!"
exit 1 exit 1
fi fi