diff options
-rwxr-xr-x | kernel/update_kernel | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel index cdfdf3e19..965029e4f 100755 --- a/kernel/update_kernel +++ b/kernel/update_kernel @@ -87,6 +87,7 @@ fi #- allow specifying a kernel file on commandline (./update_kernel /RPMS/kernel-2.4.22.10mdk-1-1mdk.i586.rpm 2.4.22-10mdk) if [ -n "$1" ]; then rpm=$1 + [ $rpm = ${rpm#/} ] && rpm=`pwd`/$rpm elif [ "$ARCH" == "ia64" ] || [ "$ARCH" == "ppc" ]; then rpm=$RPMS/kernel-[0-9]*.rpm else |