summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbriggs <briggs@openbsd.org>1996-10-24 13:20:39 +0000
committerbriggs <briggs@openbsd.org>1996-10-24 13:20:39 +0000
commit029ae1431109dac2a548fb14e3b378f395c081b0 (patch)
tree509197c55888d63a21d7bfe4e318761816318ee8
parentfix protos and decls. (diff)
downloadwireguard-openbsd-029ae1431109dac2a548fb14e3b378f395c081b0.tar.xz
wireguard-openbsd-029ae1431109dac2a548fb14e3b378f395c081b0.zip
Use machine instead of uname -m to get .
This allows the scripts to work more easily in some cross-development situations and does not break any normal uses.
-rw-r--r--distrib/sets/makeflist2
-rw-r--r--distrib/sets/maketars2
2 files changed, 2 insertions, 2 deletions
diff --git a/distrib/sets/makeflist b/distrib/sets/makeflist
index 04b3e39ac57..a9c169a137a 100644
--- a/distrib/sets/makeflist
+++ b/distrib/sets/makeflist
@@ -1,6 +1,6 @@
#!/bin/csh -f
-set arch=`uname -m`
+set arch=`machine`
set listsdir=`pwd`/lists
set TMPFILE=/tmp/_LIST.$$
diff --git a/distrib/sets/maketars b/distrib/sets/maketars
index 5ee14df78d4..4b57827f5c2 100644
--- a/distrib/sets/maketars
+++ b/distrib/sets/maketars
@@ -12,7 +12,7 @@ if (! $?DESTDIR) then
exit 1
endif
-set arch=`uname -m`
+set arch=`machine`
set listsdir=`pwd`/lists
set tardir=$RELEASEDIR
set fsdir=$DESTDIR