From 75f1fade4434092cf1596041f3dd762b034d34b8 Mon Sep 17 00:00:00 2001 From: hackbard Date: Wed, 10 Sep 2003 13:54:48 +0000 Subject: [PATCH] bugfix --- backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index 857dcae..a1a0f1a 100755 --- a/backup.sh +++ b/backup.sh @@ -77,9 +77,9 @@ echo "config stuff:" mkdir ./${host}-conf && cd ./${host}-conf for i in $kernel_num; do - if [ -f /usr/src/linux-${i}*/.config ] ; then + if [ -f /usr/src/linux-${i}/.config ] ; then echo "copying /usr/src/linux/.config" - cp /usr/src/linux-${i}*/.config ./$host-kernel-${i}-config + cp /usr/src/linux-${i}/.config ./$host-kernel-${i}-config fi done -- 2.39.2