summaryrefslogtreecommitdiffstats
path: root/core/modules/nvidia-libs/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/nvidia-libs/module.build')
-rw-r--r--core/modules/nvidia-libs/module.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/nvidia-libs/module.build b/core/modules/nvidia-libs/module.build
index 5dcbc68b..3d56fc20 100644
--- a/core/modules/nvidia-libs/module.build
+++ b/core/modules/nvidia-libs/module.build
@@ -5,7 +5,7 @@ pre_exec() {
local SRC SZ
SRC="${ROOT_DIR}/tmp/work/nvidia-common/build/$VERSION"
[ -d "$SRC" ] || perror "nvidia-common did not build $VERSION"
- SZ=$( du -sk "$SRC" )
+ SZ=$( du -sk "$SRC" | awk '{print $1}' )
(( SZ < 200000 )) && perror "nvidia-common for $VERSION is less than 200MB, fishy"
# XXX Now we override the MODULE_BUILD_DIR, where mltk will then grab alle the required files from
MODULE_BUILD_DIR="$SRC"