summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2012-11-05 07:15:34 +0400
committerIgor Pashev <pashev.igor@gmail.com>2012-11-05 07:15:34 +0400
commita08d5d034ad091b49565ed5c3c9b819afc9bbb0c (patch)
tree524ffaaa69380a851012442422d3ae05bf8b4dd0
parent6d43f66947b34efe3de336ce015be214d00cf729 (diff)
downloaddh-illumos-a08d5d034ad091b49565ed5c3c9b819afc9bbb0c.tar.gz
Fix shell syntaxv9.5.1
-rw-r--r--debian/changelog6
-rwxr-xr-xdh_illumos_make6
2 files changed, 10 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 175acdf..cbea5e9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+dh-illumos (9.5.1) unstable; urgency=low
+
+ * Fix shell syntax.
+
+ -- Igor Pashev <pashev.igor@gmail.com> Mon, 05 Nov 2012 07:15:21 +0400
+
dh-illumos (9.5) unstable; urgency=low
* dh_illumos_gate:
diff --git a/dh_illumos_make b/dh_illumos_make
index c2290b3..3e1fce4 100755
--- a/dh_illumos_make
+++ b/dh_illumos_make
@@ -135,9 +135,11 @@ $override .= ' CTFMERGE=:' if $dh{'WITHOUT_CTF'};
if ($dh{'NATIVE'}) {
my $deb_host_arch_cpu = `dpkg-architecture -qDEB_HOST_ARCH_CPU`;
+ chomp $deb_host_arch_cpu;
$override .= ' i386_XARCH=';
- $override .= " LDLIBS32='\$(LDLIBS_NATIVE)'";
- $override .= " MAPFILE.NGB='\$(MAPFILE.NGB_$deb_host_arch_cpu)'";
+ # We need to propogate it through perl and shell to make:
+ $override .= " LDLIBS32='\\\$(LDLIBS_NATIVE)'";
+ $override .= " MAPFILE.NGB='\\\$(MAPFILE.NGB_$deb_host_arch_cpu)'";
}
foreach (@dirs) {