From: kaku <fk...@us...> - 2006-02-09 03:54:07
|
Update of /cvsroot/mkdump/utils/mkd_load In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23306/mkd_load Modified Files: mkd_load Log Message: Fixed a bit bug. Modified to put some variables between double quotations. Index: mkd_load =================================================================== RCS file: /cvsroot/mkdump/utils/mkd_load/mkd_load,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mkd_load 9 Dec 2005 13:34:19 -0000 1.5 --- mkd_load 9 Feb 2006 03:53:59 -0000 1.6 *************** *** 47,51 **** # read config file #--------------------------------------------------------------- ! if [ ! -f $CONFIG_FILE ]; then echo "'$CONFIG_FILE' is not found." exit 1 --- 47,51 ---- # read config file #--------------------------------------------------------------- ! if [ ! -f "$CONFIG_FILE" ]; then echo "'$CONFIG_FILE' is not found." exit 1 *************** *** 57,61 **** # get device no. #--------------------------------------------------------------- ! if [ -z $MKDUMP_DEV ]; then echo "MKDUMP_DEV is not specified." exit 1 --- 57,61 ---- # get device no. #--------------------------------------------------------------- ! if [ -z "$MKDUMP_DEV" ]; then echo "MKDUMP_DEV is not specified." exit 1 *************** *** 71,75 **** # get path of mini kernel. #--------------------------------------------------------------- ! if [ -z $MKDUMP_VMLINUX ]; then echo "MKDUMP_VMLINUX is not specified." exit 1 --- 71,75 ---- # get path of mini kernel. #--------------------------------------------------------------- ! if [ -z "$MKDUMP_VMLINUX" ]; then echo "MKDUMP_VMLINUX is not specified." exit 1 *************** *** 83,87 **** # get memory size of mini kernal. #--------------------------------------------------------------- ! if [ -z $MKDUMP_MEM ]; then MKDUMP_MEM=$MKDUMP_MEM_DEFAULT else --- 83,87 ---- # get memory size of mini kernal. #--------------------------------------------------------------- ! if [ -z "$MKDUMP_MEM" ]; then MKDUMP_MEM=$MKDUMP_MEM_DEFAULT else *************** *** 98,102 **** #--------------------------------------------------------------- if [ ! -e /proc/mkexec ]; then ! if [ ! -f $MKEXEC_FILE ]; then echo "'$MKEXEC_FILE' not found." exit 1 --- 98,102 ---- #--------------------------------------------------------------- if [ ! -e /proc/mkexec ]; then ! if [ ! -f "$MKEXEC_FILE" ]; then echo "'$MKEXEC_FILE' not found." exit 1 |