Whamcloud - gitweb
land b_io on b_devel (b_io will be deleted as soon as it's confirmed
authorpschwan <pschwan>
Sun, 2 Mar 2003 05:58:14 +0000 (05:58 +0000)
committerpschwan <pschwan>
Sun, 2 Mar 2003 05:58:14 +0000 (05:58 +0000)
that the merge happend without incident)

lustre/tests/lkcdmap

index 38e79c8..20c8c20 100755 (executable)
@@ -3,13 +3,11 @@ TMP=${TMP:-/tmp}
 LCMD=$TMP/lkcd-cmds-`hostname`
 echo "Storing LKCD module info in $LCMD"
 cat /tmp/ogdb-`hostname` | while read JUNK M JUNK; do
-       DIR=`dirname $M`
-       DIR=`cd $PWD/../$DIR; pwd`
-       MOD="$DIR/`basename $M`"
+       MOD="../$M"
        MAP=`echo $MOD | sed -e 's/\.o$/.map/'`
-       MODNAME=`basename $M | sed -e 's/\.o$//'`
+       MODNAME=`basename $MOD | sed -e 's/\.o$//'`
 
        nm $MOD > $MAP
-       echo namelist -a $MOD  | tee -a $LCMD
-       echo symtab -a $MAP $MODNAME | tee -a $LCMD
+       echo namelist -a $PWD/$MOD  | tee -a $LCMD
+       echo symtab -a $PWD/$MAP $MODNAME | tee -a $LCMD
 done