[tycho/f21] Fix copy-platform-all script for dropins.

Roland Grunberg rgrunber at fedoraproject.org
Mon Nov 17 20:09:31 UTC 2014


commit 37d8accd7c2d0168f82588f2734c60dc2e62e19b
Author: Roland Grunberg <rgrunber at redhat.com>
Date:   Mon Nov 17 13:46:50 2014 -0500

    Fix copy-platform-all script for dropins.

 copy-platform-all |    6 ++----
 tycho.spec        |    5 ++++-
 2 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/copy-platform-all b/copy-platform-all
index acd0cbd..ce994bd 100755
--- a/copy-platform-all
+++ b/copy-platform-all
@@ -57,15 +57,13 @@ pushd $sdk >/dev/null
 	      (cd $datadir/dropins/$f/eclipse;
 				ls -d plugins/* features/* 2>/dev/null) |
 	      while read g; do
-		  [ ! -e $g ] && \
-		    ln -s $datadir/dropins/$f/eclipse/$g $g
+		    ln -sf $datadir/dropins/$f/eclipse/$g $g
 	      done
           else
 	      (cd $datadir/dropins/$f;
 				ls -d plugins/* features/* 2>/dev/null) |
 	      while read g; do
-	          [ ! -e $g ] && \
-		    ln -s $datadir/dropins/$f/$g $g
+		    ln -sf $datadir/dropins/$f/$g $g
 	      done
           fi
       done
diff --git a/tycho.spec b/tycho.spec
index 27b0e36..ede41c7 100644
--- a/tycho.spec
+++ b/tycho.spec
@@ -19,7 +19,7 @@
 
 Name:           tycho
 Version:        0.21.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Plugins and extensions for building Eclipse plugins and OSGI bundles with Maven
 
 Group:          Development/Libraries
@@ -355,6 +355,9 @@ install -m 644 $osgiStateJarPath $RPM_BUILD_ROOT%{_javadir}/%{name}/osgi.compati
 %{_javadocdir}/%{name}
 
 %changelog
+* Mon Nov 17 2014 rgrunber at redhat.com - 0.21.0-2
+- Fix copy-platform-all script for dropins.
+
 * Thu Jul 24 2014 Roland Grunberg <rgrunber at redhat.com> - 0.21.0-1
 - Update to 0.21.0 Release.
 


More information about the scm-commits mailing list