diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-11-09 12:54:35 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-11-09 12:54:35 +0100 |
commit | a3bdc3b32bcb585ff9786e727bd8d47917ba3c10 (patch) | |
tree | 5da21e4e0bdcc029a5b4a0cf4ae26ff4d300f5e1 /redhat/build/get_specfile.sh | |
parent | e25e5dfb46bcbb9327349620eca4da0a9538bf0d (diff) | |
download | tde-packaging-a3bdc3b32bcb585ff9786e727bd8d47917ba3c10.tar.gz tde-packaging-a3bdc3b32bcb585ff9786e727bd8d47917ba3c10.zip |
RPM packaging: update build scripts
Diffstat (limited to 'redhat/build/get_specfile.sh')
-rwxr-xr-x | redhat/build/get_specfile.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/redhat/build/get_specfile.sh b/redhat/build/get_specfile.sh index ac59434a7..70ff8d144 100755 --- a/redhat/build/get_specfile.sh +++ b/redhat/build/get_specfile.sh @@ -5,14 +5,14 @@ TDE_VERSION="${2:-14.0.0}" [ -z "${PKGNAME}" ] && echo "You must specify a package name !" && exit 1 -[ -d "${PACKAGING_DIR}" ] || PACKAGING_DIR=~/tde/tde-packaging +[ -d "${TDE_PACKAGING_DIR}" ] || TDE_PACKAGING_DIR=~/tde/tde-packaging [ -d "${DIST_PACKAGING_DIR}" ] || DIST_PACKAGING_DIR=${PACKAGING_DIR}/redhat # Special case for QT3 if [ "${PKGNAME}" = "qt3" ]; then case "$(rpmdist.sh --dist)" in - .oss*) DIST_PACKAGING_DIR=${PACKAGING_DIR}/opensuse ;; - .mga*|.mdk*|.pclos*) DIST_PACKAGING_DIR=${PACKAGING_DIR}/mageia ;; + .oss*) DIST_PACKAGING_DIR=${TDE_PACKAGING_DIR}/opensuse ;; + .mga*|.mdk*|.pclos*) DIST_PACKAGING_DIR=${TDE_PACKAGING_DIR}/mageia ;; esac fi |