Skip to content

Commit ddbf49d

Browse files
committed
don't hardcode version in deb packaging script
1 parent bf4efe8 commit ddbf49d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

make/makedeb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ cp build/resources/control $DEBDIR/DEBIAN/control
7272

7373
# calculate installed size
7474
echo -n "Installed-Size: " >> $DEBDIR/DEBIAN/control
75-
du -s build/python3-pcbasic_2.0.5_all/usr/ | awk '{print $1 }' >> $DEBDIR/DEBIAN/control
75+
du -s build/python3-pcbasic_"$VERSION"_all/usr/ | awk '{print $1 }' >> $DEBDIR/DEBIAN/control
7676

7777
# build the deb
7878
echo "building the .deb package"

0 commit comments

Comments
 (0)