From 25f29ef9c4168f734f9ba03bcb3d8b345d36c97a Mon Sep 17 00:00:00 2001 From: nishi Date: Mon, 17 Jun 2024 02:00:02 +0000 Subject: [PATCH] fix deb.mk git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@322 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- Makefiles/deb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefiles/deb.mk b/Makefiles/deb.mk index 7441089..05d44e4 100644 --- a/Makefiles/deb.mk +++ b/Makefiles/deb.mk @@ -22,7 +22,7 @@ echo "Maintainer: Nishi > workdir-deb/DEBIAN/control echo "Depends: libc6 (>= 2.14)" >> workdir-deb/DEBIAN/control echo "Homepage: http://nishi.boats/dataworks" >> workdir-deb/DEBIAN/control - echo "Installed-Size: `du -k workdir-deb/usr | cut -d"\t" -f1`" >> workdir-deb/DEBIAN/control + echo "Installed-Size: `du -k workdir-deb/usr | tail -n1 | grep -Eo "^[0-9]+"`" >> workdir-deb/DEBIAN/control echo "Description: Simple DBMS written in C" >> workdir-deb/DEBIAN/control fakeroot dpkg-deb --build workdir-deb $@ rm -rf workdir-deb -- 2.43.0