about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-02-17 14:41:13 +0000
committerLaurent Bercot <ska@appnovation.com>2023-02-17 14:41:13 +0000
commit66ef9fc0b0eac03226c5a5b72c4be9056598595d (patch)
treed3989ca40e13fe724c263c178fa441808d4d075b
parenteb8bee59fdea19d6b34509c7c2ce6dbd459681a5 (diff)
downloadskalibs-66ef9fc0b0eac03226c5a5b72c4be9056598595d.tar.gz
skalibs-66ef9fc0b0eac03226c5a5b72c4be9056598595d.tar.xz
skalibs-66ef9fc0b0eac03226c5a5b72c4be9056598595d.zip
version: 2.13.1.0 v2.13.1.0
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rwxr-xr-xtools/gen-types.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen-types.sh b/tools/gen-types.sh
index 5dd408f..3d5f298 100755
--- a/tools/gen-types.sh
+++ b/tools/gen-types.sh
@@ -4,7 +4,7 @@ sysdeps="$1"
 shift
 
 getbits() {
-  expr 8 '*' `grep -F sizeof$2: < "$1" | awk '{print $2;}'`
+  expr 8 '*' `grep -F sizeof$2: < "$1" | { read a b c ; echo "$b" ; }`
 }
 
 cat < src/headers/types-header