diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2019-02-22 22:20:18 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2019-02-22 22:20:18 +0000 |
| commit | 111aec2bae09043a27eaa4e85e531113b8cae993 (patch) | |
| tree | 9e2a95fec207a9241a3d8bb0e1c6117373049f20 | |
| parent | 8ab21285eaf72d54077b1846529c46068597ed7d (diff) | |
Explicitly use ${TOOL_AWK} instead of system's awk.
| -rw-r--r-- | distrib/amd64/uefi-installimage/Makefile.bootimage | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/amd64/uefi-installimage/Makefile.bootimage b/distrib/amd64/uefi-installimage/Makefile.bootimage index 8fdbe46c00f..a99a14243cf 100644 --- a/distrib/amd64/uefi-installimage/Makefile.bootimage +++ b/distrib/amd64/uefi-installimage/Makefile.bootimage @@ -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 @@ BSDPARTSECTORS!= expr ${IMAGESECTORS} - ${LABELSECTORS} - ${EFISECTORS} - 2048 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 # |
