SVN: geninitrd/trunk/geninitrd
glen
glen at pld-linux.org
Thu Oct 25 16:17:03 CEST 2007
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`"
More information about the pld-cvs-commit
mailing list