diff options
author | François Andriot <[email protected]> | 2013-08-02 11:38:56 +0200 |
---|---|---|
committer | François Andriot <[email protected]> | 2013-08-02 11:38:56 +0200 |
commit | 1a71e96a56adad132b436a472bcad161e886b216 (patch) | |
tree | d9ce6842cbdd884f75ddbb7f6a3daf0f94322e46 /redhat/genrpm.sh | |
parent | 14747f499355e2b6ff556085a4e830a861ceb451 (diff) | |
download | tde-packaging-1a71e96a56adad132b436a472bcad161e886b216.tar.gz tde-packaging-1a71e96a56adad132b436a472bcad161e886b216.zip |
RPM Packaging: update build script
Diffstat (limited to 'redhat/genrpm.sh')
-rwxr-xr-x | redhat/genrpm.sh | 9 |
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)" |