commit 7f5eccc0cdae8c93d9dacfbdb1ba0a94c5756c68
Author: Elan Ruusamäe <[email protected]>
Date:   Tue May 13 23:42:24 2014 +0300

    use fixed DESTDIR in verbose logs

 geninitrd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 02dfc0e..62b8f8b 100755
--- a/geninitrd
+++ b/geninitrd
@@ -479,10 +479,10 @@ inst() {
        set -- $src
        local parentDir=$(dirname $DESTDIR$dest)
        if [ ! -d "$parentDir" ]; then
-               verbose "+ mkdir -p $parentDir"
+               verbose "+ mkdir -p DESTDIR${parentDir#$DESTDIR}"
                mkdir -p $parentDir
        fi
-       verbose "+ cp $* $DESTDIR$dest"
+       verbose "+ cp $* DESTDIR$dest"
        cp -HR "$@" "$DESTDIR$dest"
 }
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/geninitrd.git/commitdiff/7f5eccc0cdae8c93d9dacfbdb1ba0a94c5756c68

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to