From d04bcf715df09b97708a2193ef5e38e23330da18 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 15 Nov 2010 08:37:27 +0000 Subject: [PATCH] use rm -rf instead of rmdir --- makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 81e1dccce6..bb5a747ed3 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -5097,7 +5097,7 @@ def MakeInstallerLinux(): oscmd("mv "+ARCH+"/panda3d-runtime-"+VERSION+"-"+RPMRELEASE+"."+ARCH+".rpm .") else: oscmd("mv "+ARCH+"/panda3d-"+VERSION+"-"+RPMRELEASE+"."+ARCH+".rpm .") - oscmd("rmdir "+ARCH, True) + oscmd("rm -rf "+ARCH, True) if (os.path.exists("/usr/bin/dpkg-deb")): oscmd("dpkg --print-architecture > "+GetOutputDir()+"/tmp/architecture.txt")