diff --git a/bin/caam b/bin/caam index 4e1ffe7..f1db61a 100755 --- a/bin/caam +++ b/bin/caam @@ -71,6 +71,7 @@ Usage: $myname [caam-options] [configure-options] Available caam-options: -m Do make only, not calling configure + -b Bashism -c Do configure only, not calling make -g Call "gmake" instead of default "make" -cmake Call "cmake" instead of default "./configure" @@ -128,6 +129,7 @@ -j) shift; CAAM_MKOPT="$MKOPT${MKOPT:+ }-j $1";; -k) CAAM_MKOPT="$CAAM_MKOPT${CAAM_MKOPT:+ }-k";; # -CC) setcc=1 ;; + -b) SHELL=`which bash`; CONFIG_SHELL=$SHELL;; -c) DO="echo done";; -g) CAAM_MAKE=gmake ;; -cmake) CAAM_CFG=cmake; builddir=$build_subdir ;; @@ -199,6 +201,7 @@ LD_RUN_PATH="$lp" PKG_CONFIG_PATH=$pcp export PKG_CONFIG_PATH +export CONFIG_SHELL # Setup gcc wrapper environment # point to gcc wrapper