Skip to content

Commit

Permalink
install: default project
Browse files Browse the repository at this point in the history
  • Loading branch information
h-dh committed Dec 8, 2015
1 parent a306a38 commit 6a395d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -546,9 +546,9 @@ test ${DEF_PRJ} \
getConfigEntry ${QA_PATH} DEFAULT_PROJECT ${CONFIG_FILE}

if [ ${DEFAULT_PROJECT} ] ; then
defPrj=--set_default_project=${DEFAULT_PROJECT#*=}
defPrj=--default_project=${DEFAULT_PROJECT#*=}
else
defPrj=--set_default_project=$defaultProject
defPrj=--default_project=$defaultProject
fi

# no parameter: check for a conversion from former; safe
Expand Down
4 changes: 2 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ do
isLink=t
elif [ "${UOPTARG%%=*}" = PACKAGE ] ; then
package=${OPTARG#=*}
elif [ "${UOPTARG%=*}" = SET_DEFAULT_PROJECT ] ; then
elif [ "${UOPTARG%=*}" = DEFAULT_PROJECT ] ; then
defaultProject=${OPTARG#*=}
elif [ "${UOPTARG%=*}" = SHOW-INST ] ; then
isShowInst=t
Expand Down Expand Up @@ -956,7 +956,7 @@ makeUtilities

# check projects' qa executables
if [ $# -eq 0 ] ; then
projects=( CORDEX )
projects=( ${defaultProject:-CORDEX} )
else
projects=( $* )
fi
Expand Down

0 comments on commit 6a395d2

Please sign in to comment.