summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap/bootstrap11
1 files changed, 6 insertions, 5 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap
index e27a923597b..df9105f58ab 100755
--- a/bootstrap/bootstrap
+++ b/bootstrap/bootstrap
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: bootstrap,v 1.271 2019/09/13 20:10:35 rillig Exp $
+# $NetBSD: bootstrap,v 1.272 2019/11/05 13:58:06 triaxx Exp $
#
# Copyright (c) 2001-2011 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -747,6 +747,11 @@ Linux)
# some regexp used in pkgsrc/mk.
if [ -f /etc/debian_version ]; then
need_awk=yes
+ # Arch uses gawk 5 that breaks some regexps. It doesn't provide pax
+ # anymore.
+ elif [ -f /etc/arch-release ]; then
+ need_awk=yes
+ need_pax=yes
elif grep -sq '^CHROMEOS_RELEASE_NAME' /etc/lsb-release; then
need_awk=yes
need_sed=yes
@@ -754,10 +759,6 @@ Linux)
need_awk=no
need_sed=no
fi
- # Arch does not provide pax anymore
- if [ -f /etc/arch-release ]; then
- need_pax=yes
- fi
set_opsys=no
machine_arch=`uname -m`
# Override machine_arch where required.