[PATCH 3/6] upd-kernel: Fix handling of existing destdir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Mark McLoughlin <markmc@xxxxxxxxxx>
---
 scripts/upd-kernel |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/upd-kernel b/scripts/upd-kernel
index 64bf170..3a5483b 100755
--- a/scripts/upd-kernel
+++ b/scripts/upd-kernel
@@ -42,7 +42,7 @@ if [ ! -d $OLDDIR ]; then
   exit 1
 fi
 
-if [ -f $NEWDIR ]; then
+if [ -d $NEWDIR ]; then
     NEWDIR=`readlink -f $NEWDIR`
 else
     NEWDIR=`readlink -f .`/$NEWDIR
-- 
1.5.4.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux