summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Daniel2011-09-29 07:36:29 (EDT)
committer Alexander Kurtakov2011-09-29 07:36:29 (EDT)
commitae6a179b8cb6dbb8ef4f28beb43cbcfee831970a (patch)
treebb793661766033a5fde78d7b78253a86b5d0aedd
parent1eb6f9eb1c860a712a9d2444c3ec57814b2d16fb (diff)
downloadorg.eclipse.linuxtools.eclipse-build-ae6a179b8cb6dbb8ef4f28beb43cbcfee831970a.zip
org.eclipse.linuxtools.eclipse-build-ae6a179b8cb6dbb8ef4f28beb43cbcfee831970a.tar.gz
org.eclipse.linuxtools.eclipse-build-ae6a179b8cb6dbb8ef4f28beb43cbcfee831970a.tar.bz2
Apply patch from #350304.
Works perfect. Thanks for doing it.
-rwxr-xr-xeclipse-build/pdebuild/eclipse-copy-platform.sh19
1 files changed, 12 insertions, 7 deletions
diff --git a/eclipse-build/pdebuild/eclipse-copy-platform.sh b/eclipse-build/pdebuild/eclipse-copy-platform.sh
index c8485ba..2f17d88 100755
--- a/eclipse-build/pdebuild/eclipse-copy-platform.sh
+++ b/eclipse-build/pdebuild/eclipse-copy-platform.sh
@@ -35,36 +35,41 @@ cd $where
# Are there any optional arguments left?
if [ $# -gt 0 ]; then
for optional in "$@"; do
- (cd $eclipse; ls -d plugins/*"$optional"* features/*"$optional"*) |
+ (cd $eclipse;
+ ls -d plugins/*"$optional"* features/*"$optional"* 2>/dev/null) |
while read f; do
[ ! -e $f ] && ln -s $eclipse/$f $f
done
- (cd $eclipse/dropins; ls -d "$optional") |
+ (cd $eclipse/dropins; ls -d "$optional" 2>/dev/null) |
while read f; do
if [ -e $eclipse/dropins/$f/eclipse ]; then
- (cd $eclipse/dropins/$f/eclipse; ls -d plugins/* features/*) |
+ (cd $eclipse/dropins/$f/eclipse;
+ ls -d plugins/* features/* 2>/dev/null) |
while read g; do
[ ! -e $g ] && \
ln -s $eclipse/dropins/$f/eclipse/$g $g
done
else
- (cd $eclipse/dropins/$f; ls -d plugins/* features/*) |
+ (cd $eclipse/dropins/$f;
+ ls -d plugins/* features/* 2>/dev/null) |
while read g; do
[ ! -e $g ] && \
ln -s $eclipse/dropins/$f/$g $g
done
fi
done
- (cd $datadir/dropins; ls -d "$optional") |
+ (cd $datadir/dropins; ls -d "$optional" 2>/dev/null) |
while read f; do
if [ -e $datadir/dropins/$f/eclipse ]; then
- (cd $datadir/dropins/$f/eclipse; ls -d plugins/* features/*) |
+ (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
done
else
- (cd $datadir/dropins/$f; ls -d plugins/* features/*) |
+ (cd $datadir/dropins/$f;
+ ls -d plugins/* features/* 2>/dev/null) |
while read g; do
[ ! -e $g ] && \
ln -s $datadir/dropins/$g $g