Skip to content

Instantly share code, notes, and snippets.

@eriweb
Created August 28, 2014 20:23
Show Gist options
  • Save eriweb/da57b1f41401d0a440ac to your computer and use it in GitHub Desktop.
Save eriweb/da57b1f41401d0a440ac to your computer and use it in GitHub Desktop.
acs 4.3 debian fix
diff --git a/debian/rules b/debian/rules
index 66800de..4edf893 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@
DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[~-].*//')
-MVNADD := $(shell if echo '$(DEBVERS)' | grep -q snapshot; then echo ; fi )
+MVNADD := $(shell if echo '$(DEBVERS)' | grep -q snapshot; then echo -SNAPSHOT; fi )
PACKAGE = $(shell dh_listpackages|head -n 1|cut -d '-' -f 1)
SYSCONFDIR = "/etc"
DESTDIR = "debian/tmp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment