Use -L instead of -l in test for symlink
authorAndrew Gaffney <agaffney@gentoo.org>
Fri, 29 Feb 2008 22:43:58 +0000 (22:43 +0000)
committerAndrew Gaffney <agaffney@gentoo.org>
Fri, 29 Feb 2008 22:43:58 +0000 (22:43 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1348 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/support/kmerge.sh

index 42ce8b2ffcd0f6e145f6fe679025c3bfafd9a05b..6dc8ce02c00b2aa54727bd1ce8364186f5d3055e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
 # $Id: $
 
+  29 Feb 2008; Andrew Gaffney <agaffney@gentoo.org>
+  targets/support/kmerge.sh:
+  Use -L instead of -l in test for symlink
+
   29 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
   targets/stage1/stage1-controller.sh:
   Remove code for gcc-config/binutils-config since it should be getting done
index 3f8d1a7cf348c40c600fd7ae51aeaaf81518eaa2..82820a0594e915fce22bb448a079e7ab8a68220f 100755 (executable)
@@ -191,7 +191,7 @@ if [ -n "${clst_KERNCACHE}" ]
 then
 mkdir -p /tmp/kerncache/${clst_kname}
        ROOT=/tmp/kerncache/${clst_kname} PKGDIR=${PKGDIR} run_merge --nodeps -uqkb  "${clst_ksource}" || exit 1
-       [ -l /usr/src/linux ] && rm -f /usr/src/linux
+       [ -L /usr/src/linux ] && rm -f /usr/src/linux
        ln -s /tmp/kerncache/${clst_kname}/usr/src/linux /usr/src/linux
 else
        run_merge "${clst_ksource}" || exit 1