summaryrefslogtreecommitdiffstats
path: root/redhat/genrpm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/genrpm.sh')
-rwxr-xr-xredhat/genrpm.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh
index 3842b4c0b..a6df1f0b5 100755
--- a/redhat/genrpm.sh
+++ b/redhat/genrpm.sh
@@ -161,13 +161,8 @@ cp -f "${COMP}/${SPEC}" "${SOURCEDIR}"
echo "Copying TARBALL ..."
cp -fv "${TARBALL}" "${SOURCEDIR}"
-if [ $(hostname) = "aria.vtf" ]; then
- BUILDDIR="$HOME/rpmbuild/BUILD/BUILD${DIST}.$(uname -i)"
- BUILDROOTDIR="$HOME/rpmbuild/BUILDROOT/BUILDROOT${DIST}.$(uname -i)"
-else
- BUILDDIR="/dev/shm/BUILD${DIST}.$(uname -i)"
- BUILDROOTDIR="/dev/shm/BUILDROOT${DIST}.$(uname -i)"
-fi
+BUILDDIR="/dev/shm/BUILD${DIST}.$(uname -i)"
+BUILDROOTDIR="/dev/shm/BUILDROOT${DIST}.$(uname -i)"
TOPSRCRPMDIR="$(rpm -E %_srcrpmdir)"
TOPRPMDIR="$(rpm -E %_rpmdir)"