##// END OF EJS Templates
buildrpm: complain when hg command isn't available...
Mads Kiilerich -
r7431:3d827cc6 default
parent child Browse files
Show More
@@ -3,9 +3,16 b''
3 # Build a Mercurial RPM in place.
3 # Build a Mercurial RPM in place.
4 # Known to work on:
4 # Known to work on:
5 # - Fedora 9
5 # - Fedora 9
6 # - Fedora 10
6 #
7 #
7 # Bryan O'Sullivan <bos@serpentine.com>
8 # Bryan O'Sullivan <bos@serpentine.com>
8
9
10 if hg --version > /dev/null 2>&1; then :
11 else
12 echo 'hg command not available!' 1>&2
13 exit 1
14 fi
15
9 root="`hg root 2>/dev/null`"
16 root="`hg root 2>/dev/null`"
10 specfile=contrib/mercurial.spec
17 specfile=contrib/mercurial.spec
11
18
General Comments 0
You need to be logged in to leave comments. Login now