Bug #6607

Test for alternative VCS is broken

Added by mart3p almost 6 years ago. Updated almost 6 years ago.

Status:ClosedStart date:2013-11-29
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:-

Description

The test for the repo VCS added at r90 is:

USED_VCS ?= $(shell [ -d .hg ] && echo "HG") || [ -d .git ]] && echo "GIT" || echo "UNKNOWN")

This doesn't work. Count the opening and closing braces. ;)

USED_VCS ?= $(shell [ -d .hg ] && echo "HG" || ([ -d .git ] && echo "GIT" || echo "UNKNOWN"))

works for me but I've only tested with an HG repo.

Associated revisions

Revision 92:50d77a435ad8
Added by planetmaker almost 6 years ago

Fix #6607: Test for VCS type was broken

History

#1 Updated by planetmaker almost 6 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Applied in changeset 50d77a435ad8.

Also available in: Atom PDF