diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ecompressdir | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ecompressdir b/bin/ecompressdir index 8b1ab1749..8f5bff1b9 100755 --- a/bin/ecompressdir +++ b/bin/ecompressdir @@ -46,9 +46,10 @@ funk_up_dir() { ret=0 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}" @@ -66,7 +67,7 @@ for dir in "$@" ; do # now lets do our work [[ -z ${suffix} ]] && continue - vecho "${0##*/}: $(ecompress --bin) ${actual_dir#${D}}" + vecho "${0##*/}: $(ecompress --bin) /${actual_dir#${D}}" funk_up_dir "compress" "${suffix}" "ecompress" done |