summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-09-20 19:55:29 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-09-20 19:55:29 +0000
commit03f37879ef167dba6f5944716c06da81902e436e (patch)
tree46a70f3d85f8de8a8a1b648a53754531b86198a6 /tools
parent90c1f3c1580d8e699c2788262a614a930a33e13e (diff)
downloadskalibs-03f37879ef167dba6f5944716c06da81902e436e.tar.xz
We're down to ONE rogue sysdep, boys. ONE.
Diffstat (limited to 'tools')
-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 e57ddfd..62d29e2 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" | cut -f2 -d' '`
+ expr 8 '*' `grep -F sizeof$2: < "$1" | awk '{print $2;}'`
}
cat < src/headers/types-header