From 26781a567daadbf97a023a6117e193da06a9ae0f Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 24 Oct 2006 01:26:13 +0000 Subject: [PATCH] Fix contributed by Joe Landman to allow building on SuSE. This commit was SVN r12273. --- contrib/dist/linux/buildrpm.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/dist/linux/buildrpm.sh b/contrib/dist/linux/buildrpm.sh index f8a63e7e56..cf0b010134 100755 --- a/contrib/dist/linux/buildrpm.sh +++ b/contrib/dist/linux/buildrpm.sh @@ -109,6 +109,9 @@ if test "$rpmtopdir" != ""; then elif test -d /usr/src/RPM; then need_root=1 rpmtopdir="/usr/src/RPM" +elif test -d /usr/src/packages; then + need_root=1 + rpmtopdir="/usr/src/packages" else need_root=1 rpmtopdir="/usr/src/redhat"