diff options
-rwxr-xr-x | bin/populate | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/populate b/bin/populate index ff242cf..bbe3b7a 100755 --- a/bin/populate +++ b/bin/populate @@ -2,6 +2,7 @@ set -efu self=$(readlink -f "$0") +basename=${0##*/} prefix=${self%/bin/*} libdir=$prefix/lib @@ -15,7 +16,7 @@ target_spec= fail=true error() { - echo "error: $1" >&2 + echo "$basename: error: $1" >&2 fail=false } |