FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Edubuntu User

 
 
LinkBack Thread Tools
 
Old 04-10-2008, 01:09 PM
Mark McLoughlin
 
Default upd-kernel: Fix handling of existing destdir

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
---
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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 06:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org