]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Config: Fix determining the package size
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 21 Sep 2024 12:24:58 +0000 (12:24 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 21 Sep 2024 12:24:58 +0000 (12:24 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/Config

index 9fabe790c3b0e1f7dcba1b86593e59da0b42520a..ea78042980f3f4ceb7500b1dc722842b49a479c5 100644 (file)
@@ -425,7 +425,7 @@ define CREATE_META
        echo "Summary: $(SUMMARY)"                                              >> $(2)
        echo "ProgVersion: $(VER)"                                              >> $(2)
        echo "Release: $(PAK_VER)"                                              >> $(2)
-       echo "Size: $(shell stat --format=%s $(1))"                     >> $(2)
+       echo "Size: $$(stat --format=%s $(1))"                  >> $(2)
        echo "Dependencies: $(DEPS)"                                    >> $(2)
        echo "File: $(PROG)-$(VER)-$(PAK_VER).ipfire"   >> $(2)
        echo "Services: $(SERVICES)"                                    >> $(2)