diff options
-rw-r--r-- | Mk/Scripts/check-stagedir.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mk/Scripts/check-stagedir.sh b/Mk/Scripts/check-stagedir.sh index fd3c3430dabe..34df172934dd 100644 --- a/Mk/Scripts/check-stagedir.sh +++ b/Mk/Scripts/check-stagedir.sh @@ -71,7 +71,10 @@ parse_plist() { @info\ *|@shell\ *) set -- $line shift - echo "${comment}${cwd}/$@" + case "$@" in + /*) echo "${comment}$@" ;; + *) echo "${comment}${cwd}/$@" ;; + esac ;; @sample\ *) set -- $line |