wilde: server install-kolab.sh,1.25,1.26
cvs at kolab.org
cvs at kolab.org
Mon May 5 12:00:15 CEST 2008
Author: wilde
Update of /kolabrepository/server
In directory doto:/tmp/cvs-serv431
Modified Files:
install-kolab.sh
Log Message:
Added option -O to pass options to OpenPKG bootstrap script.
This is needed for example to force use of "gas" assembler on some
platforms.
Index: install-kolab.sh
===================================================================
RCS file: /kolabrepository/server/install-kolab.sh,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- install-kolab.sh 5 May 2008 09:57:10 -0000 1.25
+++ install-kolab.sh 5 May 2008 10:00:13 -0000 1.26
@@ -62,9 +62,11 @@
echo
echo " -B (abort after generating the basic openpkg binary)"
echo " -E (abort after generating the openpkg environment)"
+ echo
+ echo " -O (additional build options, used for openpkg bootstraping from source)"
}
-while getopts hcBDSEFHi:V:p:I:u:t: ARGS; do
+while getopts hcBDSEFHi:V:p:I:u:t:O: ARGS; do
case $ARGS in
h) # Display help
usage
@@ -109,6 +111,9 @@
S) # User wants to collect a set of source packages into a distribution
FLAG_SDIST="Yes"
;;
+ O) # User wants additional options when building OpenPK
+ ADDITIONAL_BUILD_OPTS="$OPTARG"
+ ;;
*) # Unknown Option
echo
usage
@@ -272,7 +277,10 @@
if [ -n "$SRC" ]; then
echo "Creating binary openpkg package from $SRC!"
+ [ -n "$ADDITIONAL_BUILD_OPTS" ] && \
+ echo "Using additional options: $ADDITIONAL_BUILD_OPTS"
sh "$SRC" \
+ $ADDITIONAL_BUILD_OPTS \
--prefix="$PREFIX" \
--tag="$TAG" --user="$USER" --group="$USER" \
--muid="$KID" --ruid="$R_KID" --nuid="$N_KID" \
More information about the commits
mailing list