Author: adamg
Date: Sat Nov  3 15:29:14 2007
New Revision: 8979

Modified:
   geninitrd/trunk/geninitrd
Log:
- proper usage for inst() and inst_d() functions

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd   (original)
+++ geninitrd/trunk/geninitrd   Sat Nov  3 15:29:14 2007
@@ -390,7 +390,7 @@
 # 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_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"
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to