summaryrefslogtreecommitdiffstats
path: root/core/includes
diff options
context:
space:
mode:
authorSimon Rettberg2021-10-29 13:15:50 +0200
committerSimon Rettberg2021-10-29 13:15:50 +0200
commita6c4e4fd86c69b22f2889fa74fb44d850de22240 (patch)
treef6f3faa6e74f9701670c1b8327a5e04926d9803e /core/includes
parent[libvirt-src] Disable docs, makes build fail (diff)
downloadmltk-a6c4e4fd86c69b22f2889fa74fb44d850de22240.tar.gz
mltk-a6c4e4fd86c69b22f2889fa74fb44d850de22240.tar.xz
mltk-a6c4e4fd86c69b22f2889fa74fb44d850de22240.zip
binutil: Fix error message
Diffstat (limited to 'core/includes')
-rw-r--r--core/includes/binutil.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/includes/binutil.inc b/core/includes/binutil.inc
index 0ec98f37..7ca92f3a 100644
--- a/core/includes/binutil.inc
+++ b/core/includes/binutil.inc
@@ -141,8 +141,8 @@ get_link_chain() {
# sanity checks
[[ "$1" == /* ]] || perror "get_link_chain() requires absolute paths, given: $1"
- if [ ! -e $1 -a ! -L $1 ]; then
- perror "'$1' is a link but its target '$LINK_TARGET' is not in '${LOCALSEARCHDIR}'"
+ if [ ! -e "$1" -a ! -L "$1" ]; then
+ perror "get_link_chain: '$1' does not exist"
fi
local PREFIX=
if [ $# == 2 ] ; then