From: nishi Date: Mon, 17 Jun 2024 02:00:02 +0000 (+0000) Subject: fix deb.mk X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=25f29ef9c4168f734f9ba03bcb3d8b345d36c97a;p=dataworks.git fix deb.mk git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@322 d4a5a174-5a4a-5b4b-b672-37683c10d7d5 --- 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