caam
changeset 36:381840eb8030
Bashism option "-b" added
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 26 Feb 2020 07:53:41 +0900 |
parents | bcc4ae4e2d64 |
children | a151a2cb61e8 |
files | bin/caam |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/bin/caam Sun Feb 23 20:47:32 2020 +0900 1.2 +++ b/bin/caam Wed Feb 26 07:53:41 2020 +0900 1.3 @@ -71,6 +71,7 @@ 1.4 Usage: $myname [caam-options] [configure-options] 1.5 Available caam-options: 1.6 -m Do make only, not calling configure 1.7 + -b Bashism 1.8 -c Do configure only, not calling make 1.9 -g Call "gmake" instead of default "make" 1.10 -cmake Call "cmake" instead of default "./configure" 1.11 @@ -128,6 +129,7 @@ 1.12 -j) shift; CAAM_MKOPT="$MKOPT${MKOPT:+ }-j $1";; 1.13 -k) CAAM_MKOPT="$CAAM_MKOPT${CAAM_MKOPT:+ }-k";; 1.14 # -CC) setcc=1 ;; 1.15 + -b) SHELL=`which bash`; CONFIG_SHELL=$SHELL;; 1.16 -c) DO="echo done";; 1.17 -g) CAAM_MAKE=gmake ;; 1.18 -cmake) CAAM_CFG=cmake; builddir=$build_subdir ;; 1.19 @@ -199,6 +201,7 @@ 1.20 LD_RUN_PATH="$lp" 1.21 PKG_CONFIG_PATH=$pcp 1.22 export PKG_CONFIG_PATH 1.23 +export CONFIG_SHELL 1.24 1.25 # Setup gcc wrapper environment 1.26 # point to gcc wrapper