Skip to content

Commit 4b19063

Browse files
committed
mk: find cqueues version even without git on $PATH
1 parent 36b4b8c commit 4b19063

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mk/changelog

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ RELPATH=${0%/*}
1414
CHANGELOG=${RELPATH}/../debian/changelog
1515
ROOTDIR=${RELPATH}/..
1616

17-
GIT="$(command -v git)"
18-
1917

2018
changelog() {
2119
if [ ! -f ${CHANGELOG} ]; then
@@ -78,6 +76,7 @@ author)
7876
'
7977
;;
8078
commit)
79+
GIT="$(command -v git)"
8180
test -n "${GIT}" -a -d ${ROOTDIR}/.git || exit 1
8281

8382
cd ${ROOTDIR}

0 commit comments

Comments
 (0)