[readonly/geninitrd: 503/1068] - proper usage for inst() and inst_d() functions
draenog
draenog at pld-linux.org
Sat Nov 2 19:54:41 CET 2013
commit a9ace64ad14d72ea43b3ec8b78d51930c35fc8d7
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date: Sat Nov 3 14:29:14 2007 +0000
- proper usage for inst() and inst_d() functions
svn-id: @8979
geninitrd | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/geninitrd b/geninitrd
index 57ac84e..a4d26ca 100755
--- a/geninitrd
+++ b/geninitrd
@@ -390,7 +390,7 @@ findmodule() {
# and will symlink destinations if source is symlink.
inst() {
if [ $# -lt 2 ]; then
- die 'Usage: inst <file> [<file>] $MNTIMAGE<destination>'
+ die 'Usage: inst <file> [<file>] <destination>'
fi
local src i=0 c=$(($# - 1))
@@ -408,7 +408,7 @@ inst() {
inst_d() {
if [ $# = 0 ]; then
- die 'Usage: inst_d $MNTIMAGE<destination> $MNTIMAGE<destination>'
+ die 'Usage: inst_d <destination> <destination>'
fi
for dir in "$@"; do
install -d "$MNTIMAGE$dir"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/147754ca159d40ca5eb541074dc043d8cbd92090
More information about the pld-cvs-commit
mailing list