Author: jfrederic.clere(a)jboss.com
Date: 2007-12-13 11:40:44 -0500 (Thu, 13 Dec 2007)
New Revision: 1203
Modified:
trunk/build/unix/util/builddep.linux2.sh
trunk/build/unix/util/builddep.solaris.sh
Log:
sort uniq otherwise LD_LIBRARY_PATH grows too much.
Modified: trunk/build/unix/util/builddep.linux2.sh
===================================================================
--- trunk/build/unix/util/builddep.linux2.sh 2007-12-13 14:26:37 UTC (rev 1202)
+++ trunk/build/unix/util/builddep.linux2.sh 2007-12-13 16:40:44 UTC (rev 1203)
@@ -27,7 +27,7 @@
# $2: ouput file.
# $3: work directory location
LD_LIBRARY_PATH=$1
-for dir in `find $1 -name "*.so" -exec dirname {} \;`
+for dir in `find $1 -name "*.so" -exec dirname {} \; | sort -u`
do
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$dir
done
Modified: trunk/build/unix/util/builddep.solaris.sh
===================================================================
--- trunk/build/unix/util/builddep.solaris.sh 2007-12-13 14:26:37 UTC (rev 1202)
+++ trunk/build/unix/util/builddep.solaris.sh 2007-12-13 16:40:44 UTC (rev 1203)
@@ -27,7 +27,7 @@
# $2: ouput file.
# $3: work directory.
LD_LIBRARY_PATH=$1
-for dir in `find $1 -name "*.${so_extension}" -exec dirname {} \;`
+for dir in `find $1 -name "*.${so_extension}" -exec dirname {} \; | sort -u`
do
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$dir
done
Show replies by date