Skip to content

Commit

Permalink
modified coding for updating from GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
h-dh committed Oct 14, 2015
1 parent f751b9b commit f15798c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
7 changes: 4 additions & 3 deletions install
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ update()
test "$(getGitBranch)" != master && \
git checkout master &> /dev/null

git pull --no-edit -q origin master &> /dev/null
git fetch && git reset --hard origin/master &> /dev/null
# git pull --no-edit -q origin master &> /dev/null

if [ ${qa_dkrzDate} != $( ls -l \
--time-style=+'%s' ${QA_PATH}/scripts/qa_dkrz \
Expand Down Expand Up @@ -432,7 +433,7 @@ if [ $# -gt 0 ] ; then
A="${sArgs[i]}"
tr_option A

if [ "${A:0:5}" = AUTO_ ] ; then
if [ "${A:0:5}" = AUTO_ -o "${A:0:5}" = "AUTO-" ] ; then
sArgs[${i}]=--${sArgs[${i}]}
A="--${A}"
elif [ "${A:0:5}" = DEBUG ] ; then
Expand Down Expand Up @@ -471,7 +472,7 @@ do
d) coll[${#coll[*]}]=-d ;;
h) descript
exit ;;
-) if [ "${UOPTARG:0:7}" = AUTO_UP ] ; then
-) if [ "${UOPTARG:0:7}" = AUTO_UP -o "${UOPTARG:0:7}" = AUTO-UP ] ; then
AUTO_UP=${OPTARG##*=}
isAutoUp=t
elif [ "${UOPTARG:0:13}" = AUTO_TABLE_UP ] ; then
Expand Down
7 changes: 5 additions & 2 deletions scripts/qa-config
Original file line number Diff line number Diff line change
Expand Up @@ -1429,8 +1429,11 @@ parseOPTARG()
test "${key:0:7}" = DEBUG_E && \
setKWL DEBUG_EXECUTOR=t && return

test "${key:0:7}" = DEBUG_M && \
setKWL DEBUG_MANAGER=${value:-t} && return
if [ "${key:0:7}" = DEBUG_M ] ; then
installArgs="${installArgs}--debug,"
setKWL DEBUG_MANAGER=${value:-t}
return
fi

if [ "${key}" = NEXT ] ; then
test ${value} = t && value=1
Expand Down

0 comments on commit f15798c

Please sign in to comment.