Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/amd64/uefi-installimage Explicitly use ${TOOL_AWK} i...



details:   https://anonhg.NetBSD.org/src/rev/8e08b7fdd917
branches:  trunk
changeset: 997103:8e08b7fdd917
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Feb 22 22:20:18 2019 +0000

description:
Explicitly use ${TOOL_AWK} instead of system's awk.

diffstat:

 distrib/amd64/uefi-installimage/Makefile.bootimage |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 647af23caa63 -r 8e08b7fdd917 distrib/amd64/uefi-installimage/Makefile.bootimage
--- a/distrib/amd64/uefi-installimage/Makefile.bootimage        Fri Feb 22 22:13:58 2019 +0000
+++ b/distrib/amd64/uefi-installimage/Makefile.bootimage        Fri Feb 22 22:20:18 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.bootimage,v 1.10 2019/02/22 22:13:58 tsutsui Exp $
+#      $NetBSD: Makefile.bootimage,v 1.11 2019/02/22 22:20:18 tsutsui Exp $
 #
 # Copyright (c) 2009, 2010, 2011 Izumi Tsutsui.  All rights reserved.
 #
@@ -211,8 +211,8 @@
 FSOFFSET!=     expr ${LABELSECTORS} + ${EFISECTORS}
 SWAPOFFSET!=   expr ${LABELSECTORS} + ${FSSECTORS} + ${EFISECTORS}
 
-BOOTDISK_UUID=`${TOOL_GPT} ${GPT_TIMESSTAMP} ${WORKMBR} show -i 2 | awk '/^GUID/ {print $$2}'`
-SWAPDISK_UUID=`${TOOL_GPT} ${GPT_TIMESSTAMP} ${WORKMBR} show -i 3 | awk '/^GUID/ {print $$2}'`
+BOOTDISK_UUID=`${TOOL_GPT} ${GPT_TIMESSTAMP} ${WORKMBR} show -i 2 | ${TOOL_AWK} '/^GUID/ {print $$2}'`
+SWAPDISK_UUID=`${TOOL_GPT} ${GPT_TIMESSTAMP} ${WORKMBR} show -i 3 | ${TOOL_AWK} '/^GUID/ {print $$2}'`
 .endif
 
 #



Home | Main Index | Thread Index | Old Index