]> hackdaworld.org Git - scripts/scripts.git/commitdiff
bugfix
authorhackbard <hackbard>
Wed, 10 Sep 2003 13:54:48 +0000 (13:54 +0000)
committerhackbard <hackbard>
Wed, 10 Sep 2003 13:54:48 +0000 (13:54 +0000)
backup.sh

index 857dcae175a83ec24cd011f8642fe002391fd302..a1a0f1a1dacebbeb3a337b6be30c13d03e19ce4f 100755 (executable)
--- 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