]> Nishi Git Mirror - dataworks.git/commitdiff
fix deb.mk
authornishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Mon, 17 Jun 2024 02:00:02 +0000 (02:00 +0000)
committernishi <nishi@d4a5a174-5a4a-5b4b-b672-37683c10d7d5>
Mon, 17 Jun 2024 02:00:02 +0000 (02:00 +0000)
git-svn-id: file:///raid/svn-main/nishi-dataworks/trunk@322 d4a5a174-5a4a-5b4b-b672-37683c10d7d5

Makefiles/deb.mk

index 74410890fd784dec629971e8b4e395ecf99213fa..05d44e4fac4fc6e589f0d80d93cb9912ab33d3ce 100644 (file)
@@ -22,7 +22,7 @@
        echo "Maintainer: Nishi <nishi@nishi.boats" >> 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