aboutsummaryrefslogtreecommitdiffstats
path: root/main/ifupdown/ifupdown-no-dpkg.patch
blob: 4cb9268123baca16f6a5a425ce695a07812a7833 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/defn2c.pl b/defn2c.pl
index c449de2..ef8d475 100755
--- a/defn2c.pl
+++ b/defn2c.pl
@@ -2,7 +2,7 @@
 
 use strict;
 
-my $DEB_HOST_ARCH_OS = `dpkg-architecture -qDEB_HOST_ARCH_OS`;
+my $DEB_HOST_ARCH_OS = `uname -s|tr [A-Z] [a-z]`;
 
 $DEB_HOST_ARCH_OS =~ s/\n//;
 
diff --git a/defn2man.pl b/defn2man.pl
index 6ddcfdd..f1e6bde 100755
--- a/defn2man.pl
+++ b/defn2man.pl
@@ -2,7 +2,7 @@
 
 use strict;
 
-my $DEB_HOST_ARCH_OS = `dpkg-architecture -qDEB_HOST_ARCH_OS`;
+my $DEB_HOST_ARCH_OS = `uname -s | tr [A-Z] [a-z]`;
 
 $DEB_HOST_ARCH_OS =~ s/\n//;