[Balloon] trunk doesn't make anymore for me....here's a patc…

Top Page
Attachments:
Message as email
+ (text/plain)
+ 0001-Escape-dollar-sign-when-calling-dpkg.patch (text/x-patch)
Delete this message
Reply to this message
Author: Patrick Doyle
Date:  
To: balloon
Subject: [Balloon] trunk doesn't make anymore for me....here's a patch to fix it
zumbi's recent commit (r1588) broke the build process for me. The
attached patch fixes it. It changes:

        then if $(dpkg --compare-versions `cat /etc/debian_version` lt 6.0.0) ;\
to
        then if $$(dpkg --compare-versions `cat /etc/debian_version` lt 6.0.0) ;\


in package/packages.deps.

--wpd
From a2c8b8b71bd745e1170c5d846031c77d7623d8f1 Mon Sep 17 00:00:00 2001
From: Patrick Doyle <>
Date: Thu, 16 Jun 2011 13:13:18 -0400
Subject: [PATCH] Escape the $ when calling for git dependency

---
 package/package.deps |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/package/package.deps b/package/package.deps
index 8207a5d..f7c5685 100644
--- a/package/package.deps
+++ b/package/package.deps
@@ -95,7 +95,7 @@ mercurial:
 git:
     @#testing if $@ is installed - install it if the build stops here
     @test -x /usr/bin/$@ > /dev/null 2>&1 || if [ -e /etc/debian_version ]; \
-        then if $(dpkg --compare-versions `cat /etc/debian_version` lt 6.0.0) ;\
+        then if $$(dpkg --compare-versions `cat /etc/debian_version` lt 6.0.0) ;\
         then $(INSTALL) git-core; else $(INSTALL) $@; fi; \
         else echo "E: Missing $@"; exit 99; fi


--
1.7.2.5