]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
local dir variable
authorElan Ruusamäe <glen@delfi.ee>
Tue, 13 May 2014 20:47:16 +0000 (23:47 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 13 May 2014 20:47:16 +0000 (23:47 +0300)
geninitrd

index 62b8f8b9b33a678466eba91090434bd4ead247e7..c6da02ef372c36300a45d4b1564b5af0eb875cda 100755 (executable)
--- a/geninitrd
+++ b/geninitrd
@@ -490,6 +490,7 @@ inst_d() {
        if [ $# = 0 ]; then
                die 'Usage: inst_d <destination> <destination>'
        fi
+       local dir
        for dir in "$@"; do
                install -d "$DESTDIR$dir"
        done
This page took 0.625654 seconds and 4 git commands to generate.