summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-01-08 13:57:23 +0000
committerFrancois Pons <fpons@mandriva.com>2003-01-08 13:57:23 +0000
commit0f405502f80d07b042513374fc4740040406cc62 (patch)
tree0c2c51ef95fa7f878b12ebd63dd99b0b5f553c48 /kernel
parent4e0ddfe3dc1d7b8820d782a1bb2c7c74cf80b42d (diff)
downloaddrakx-0f405502f80d07b042513374fc4740040406cc62.tar
drakx-0f405502f80d07b042513374fc4740040406cc62.tar.gz
drakx-0f405502f80d07b042513374fc4740040406cc62.tar.bz2
drakx-0f405502f80d07b042513374fc4740040406cc62.tar.xz
drakx-0f405502f80d07b042513374fc4740040406cc62.zip
using pixel though for perl (-lne instead of -ln).
Diffstat (limited to 'kernel')
-rwxr-xr-xkernel/update_kernel2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/update_kernel b/kernel/update_kernel
index 7dc35b713..092e77e76 100755
--- a/kernel/update_kernel
+++ b/kernel/update_kernel
@@ -38,7 +38,7 @@ function create_modules() {
[ -e $ALL_KERNELS/.main ] && main=$(cat $ALL_KERNELS/.main)
-rpm=$(rpm -qpl /export/Mandrake/RPMS/kernel-BOOT-*.rpm | perl -ne 'm|/boot/vmlinuz-(.*)| and print "$1\n"')
+rpm=$(rpm -qpl /export/Mandrake/RPMS/kernel-BOOT-*.rpm | perl -lne 'm|/boot/vmlinuz-(.*)| and print $1')
if [ -n "$rpm" -a ! -e $ALL_KERNELS/$rpm ]; then
[ -n "$main" ] && rm -rf $ALL_KERNELS/$main
cd $ALL_KERNELS