Author: jfrederic.clere(a)jboss.com
Date: 2007-12-12 12:26:21 -0500 (Wed, 12 Dec 2007)
New Revision: 1187
Modified:
trunk/build/unix/util/builddep.sh
Log:
Add Solaris logic.
Modified: trunk/build/unix/util/builddep.sh
===================================================================
--- trunk/build/unix/util/builddep.sh 2007-12-12 16:53:28 UTC (rev 1186)
+++ trunk/build/unix/util/builddep.sh 2007-12-12 17:26:21 UTC (rev 1187)
@@ -38,6 +38,12 @@
$2.tmp
for file in `cat $2`
do
- rpm -qf $file >> $2.tmp
+ case ${BUILD_SYS} in
+ linux2)
+ rpm -qf $file >> $2.tmp
+ ;;
+ solaris)
+ pkgchk -l -p $file | grep "^ " >> $2.tmp
+ ;;
done
sort -u $2.tmp > $2.pkg