# HG changeset patch # User HIROSE Yuuji # Date 1582671221 -32400 # Node ID 381840eb8030f4319af89961e263b414d29878d0 # Parent bcc4ae4e2d642f93bad93cb45a70a4d250baf7c6 Bashism option "-b" added diff -r bcc4ae4e2d64 -r 381840eb8030 bin/caam --- a/bin/caam Sun Feb 23 20:47:32 2020 +0900 +++ b/bin/caam Wed Feb 26 07:53:41 2020 +0900 @@ -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