From b0b74cedc47f7111bae463ecb49f9594b6bc3f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 16 Nov 2020 12:02:21 +0100 Subject: create_tarball: Adapted to new 'core' folder for core modules. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 9db84075a083d851ec02917f926d44bc17e1f08e) --- create_tarball | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'create_tarball') diff --git a/create_tarball b/create_tarball index 1233b1d..f771739 100755 --- a/create_tarball +++ b/create_tarball @@ -57,10 +57,13 @@ MODULE=${SUBROOT#$TDEROOT/main/} # Set target version if [ -z "$TARGET" ]; then - if [ -f $TDEROOT/main/tdelibs/tdecore/tdeversion.h ]; then + if [ -f $TDEROOT/main/core/tdelibs/tdecore/tdeversion.h ]; then + tdeversionHeader=$TDEROOT/main/core/tdelibs/tdecore/tdeversion.h + elif [ -f $TDEROOT/main/core/tdelibs/kdecore/kdeversion.h ]; then + tdeversionHeader=$TDEROOT/main/core/tdelibs/kdecore/kdeversion.h + elif [ -f $TDEROOT/main/tdelibs/tdecore/tdeversion.h ]; then tdeversionHeader=$TDEROOT/main/tdelibs/tdecore/tdeversion.h - fi - if [ -f $TDEROOT/main/tdelibs/kdecore/kdeversion.h ]; then + elif [ -f $TDEROOT/main/tdelibs/kdecore/kdeversion.h ]; then tdeversionHeader=$TDEROOT/main/tdelibs/kdecore/kdeversion.h fi if [ -z "$tdeversionHeader" ]; then -- cgit v1.2.1