From: hackbard Date: Wed, 10 Sep 2003 13:54:48 +0000 (+0000) Subject: bugfix X-Git-Url: https://hackdaworld.org/gitweb/?a=commitdiff_plain;h=75f1fade4434092cf1596041f3dd762b034d34b8;p=scripts%2Fscripts.git bugfix --- 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