[projects/geninitrd] local dir variable

glen glen at pld-linux.org
Tue May 13 22:47:19 CEST 2014


commit 7c239866da33d733d5907cd4b08310dba4c5fb3c
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue May 13 23:47:16 2014 +0300

    local dir variable

 geninitrd | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/geninitrd b/geninitrd
index 62b8f8b..c6da02e 100755
--- 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
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list