From b2cc3f3490ccb5e5533789a60a673265820dccfd Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 25 Aug 2011 07:35:07 +0000 Subject: [PATCH] fix --- makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index d97a5e3ccd..873c961e3d 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -5332,7 +5332,7 @@ def MakeInstallerLinux(): else: txt = INSTALLER_DEB_FILE[1:] txt = txt.replace("VERSION", DEBVERSION).replace("ARCH", ARCH).replace("PV", PV).replace("MAJOR", MAJOR_VERSION) - txt = txt.replace("INSTSIZE", GetDirectorySize("targetroot") / 1024) + txt = txt.replace("INSTSIZE", str(GetDirectorySize("targetroot") / 1024)) oscmd("mkdir --mode=0755 -p targetroot/DEBIAN") oscmd("cd targetroot ; (find usr -type f -exec md5sum {} \;) > DEBIAN/md5sums") if (not RUNTIME):