buildrpm: fix use of invalid $PLATFORM in mercurial.repo stable
authorMads Kiilerich <madski@unity3d.com>
Sat, 01 Nov 2014 20:00:00 +0100
branchstable
changeset 23124 4c490626af13
parent 23123 c26b7a810749
child 23125 a5d6a609752b
buildrpm: fix use of invalid $PLATFORM in mercurial.repo
contrib/dockerrpm
--- a/contrib/dockerrpm	Sat Nov 01 13:13:04 2014 -0500
+++ b/contrib/dockerrpm	Sat Nov 01 20:00:00 2014 +0100
@@ -45,9 +45,9 @@
 cat << EOF > $RPMBUILDDIR/mercurial.repo
 # Place this file in /etc/yum.repos.d/mercurial.repo
 [mercurial]
-name=Mercurial packages for $NAME
+name=Mercurial packages for $PLATFORM
 # baseurl=file://$RPMBUILDDIR/
-baseurl=http://hg.example.com/build/$NAME/
+baseurl=http://hg.example.com/build/$PLATFORM/
 skip_if_unavailable=True
 gpgcheck=0
 enabled=1