From eb8752d6d837ef9b3fcd4b0c5d3fa2fd8241f80c Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Fri, 22 Jun 2007 19:46:10 +0000 Subject: [PATCH] Another linux --installer fix --- doc/makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/makepanda/makepanda.py b/doc/makepanda/makepanda.py index 3d3a00f1a3..a7f08195d9 100755 --- a/doc/makepanda/makepanda.py +++ b/doc/makepanda/makepanda.py @@ -4674,7 +4674,7 @@ def MakeInstallerLinux(): if (os.path.exists("/usr/bin/dpkg-deb")): oscmd("dpkg --print-architecture > built/tmp/architecture.txt") if (os.path.exists("/usr/bin/rpmbuild")): - oscmd("rpm -E '%_arch' > built/tmp/architecture.txt") + oscmd("rpm -E '%_target_cpu' > built/tmp/architecture.txt") ARCH=ReadFile("built/tmp/architecture.txt").strip() oscmd("rm -rf linuxroot data.tar.gz control.tar.gz panda3d.spec "+ARCH) oscmd("mkdir -p linuxroot/usr/bin")