Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1074,8 +1074,11 @@ fi
export GIT_DIR="${progdir}/.git"
export GIT_WORK_TREE="${progdir}"

test -e "${GIT_DIR}"
work_from_git_repo=$?
if test -e "${GIT_DIR}"; then
work_from_git_repo=0
else
work_from_git_repo=1
fi

# if we install from git repository, must have git to fetch current release number
if [ $work_from_git_repo -eq 0 ]; then
Expand Down
3 changes: 1 addition & 2 deletions script/mt
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,8 @@ if [ -t 1 ]; then
fi

# highlight failed tests
retreview=0
review_log
retreview+=$?
retreview=$?

# testsuite ok but mtreview failed to run
if [ $ret -eq 0 ] && [ $retreview -ne 0 ]; then
Expand Down
Loading