From f39ef92cdedab1de1a41ea6e0e4c06e1049f1efc Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 23 Jun 2017 07:52:18 +0000 Subject: abuild: use portable awk exponentiation operator --- abuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abuild.in b/abuild.in index 9b40c35..b09e365 100644 --- a/abuild.in +++ b/abuild.in @@ -1333,7 +1333,7 @@ scan_pkgconfig_depends() { human_size() { awk '{ split("B KB MB GB TB PB", type) for(i=5; y < 1 && $1 > 0; i--) - y = $1 / (2**(10*i)) + y = $1 / (2^(10*i)) printf("%.1f %s\n", y, type[i+2]) }' } -- cgit v1.2.3-60-g2f50