diff options
-rwxr-xr-x | bin/ecompressdir | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ecompressdir b/bin/ecompressdir index b65bd275a..2122250fc 100755 --- a/bin/ecompressdir +++ b/bin/ecompressdir @@ -97,9 +97,10 @@ ret=0 rm -rf "${T}"/ecompress-skip for dir in "$@" ; do + dir=${dir#/} dir="${D}${dir}" if [[ ! -d ${dir} ]] ; then - vecho "${0##*/}: ${dir#${D}} does not exist!" + vecho "${0##*/}: /${dir#${D}} does not exist!" continue fi cd "${dir}" |