diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2012-11-05 07:15:34 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2012-11-05 07:15:34 +0400 |
commit | a08d5d034ad091b49565ed5c3c9b819afc9bbb0c (patch) | |
tree | 524ffaaa69380a851012442422d3ae05bf8b4dd0 /dh_illumos_make | |
parent | 6d43f66947b34efe3de336ce015be214d00cf729 (diff) | |
download | dh-illumos-a08d5d034ad091b49565ed5c3c9b819afc9bbb0c.tar.gz |
Fix shell syntaxv9.5.1
Diffstat (limited to 'dh_illumos_make')
-rwxr-xr-x | dh_illumos_make | 6 |
1 files changed, 4 insertions, 2 deletions
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) { |