Author: glen
Date: Thu Oct 25 16:17:03 2007
New Revision: 8872

Modified:
   geninitrd/trunk/geninitrd
Log:
- cosmeticis

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd   (original)
+++ geninitrd/trunk/geninitrd   Thu Oct 25 16:17:03 2007
@@ -326,10 +326,10 @@
 
        inst "$@" $dest
 
-       local lib libdir libs=$(ldd "$@" | awk 
'/statically|linux-gate\.so/{next} NF == 2 {print $1} /=/{print $3}' | sort -u)
+       local lib libs=$(ldd "$@" | awk '/statically|linux-gate\.so/{next} NF 
== 2 {print $1} /=/{print $3}' | sort -u)
        for lib in $libs; do
-               libdir=/$(echo "$lib" | cut -d/ -f2)/
-               if [ ! -f "$MNTIMAGE/$libdir/${lib##*/}" ]; then
+               local libdir=/$(echo "$lib" | cut -d/ -f2)/
+               if [ ! -f "$MNTIMAGE$libdir${lib##*/}" ]; then
                        inst_d $libdir
                        inst_exec $lib $libdir
                fi
@@ -750,7 +750,7 @@
                fi
                key="^# $(echo $devpath | awk -F/ '{print($3);}' | tr '[a-z]' 
'[A-Z]'):"
                if ! is_yes "`awk '/'$key'/ { print( "yes"); }' $fstab`"; then
-                       die "The root filesystem is on a $devpath, but there is 
no magic entry in $fstab for this device. Consult the geninitrd man page for 
more information"
+                       die "The root filesystem is on a $devpath, but there is 
no magic entry in $fstab for this device. Consult the $PROGRAM man page for 
more information"
                fi
 
                line="`awk '/'$key'/ { print $0; }' $fstab`"
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to