diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-06-23 07:52:18 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-06-23 11:27:41 +0300 |
commit | f39ef92cdedab1de1a41ea6e0e4c06e1049f1efc (patch) | |
tree | 3bdc37895bb4b02dd122f9475a4a2fa6fe392b6e | |
parent | 597a7f167b7429a5de665c666524aea5ffdaf97a (diff) | |
download | abuild-f39ef92cdedab1de1a41ea6e0e4c06e1049f1efc.tar.gz abuild-f39ef92cdedab1de1a41ea6e0e4c06e1049f1efc.tar.bz2 abuild-f39ef92cdedab1de1a41ea6e0e4c06e1049f1efc.tar.xz abuild-f39ef92cdedab1de1a41ea6e0e4c06e1049f1efc.zip |
abuild: use portable awk exponentiation operator
-rw-r--r-- | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) }' } |