diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-11-16 12:02:21 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-11-16 12:03:43 +0100 |
commit | b0b74cedc47f7111bae463ecb49f9594b6bc3f32 (patch) | |
tree | ac15565d754a587562f6de5772ad6987b8a8ccd3 /create_tarball | |
parent | 041fa76284cc3ba797efa8ee91242783faf6eef2 (diff) | |
download | scripts-b0b74cedc47f7111bae463ecb49f9594b6bc3f32.tar.gz scripts-b0b74cedc47f7111bae463ecb49f9594b6bc3f32.zip |
create_tarball: Adapted to new 'core' folder for core modules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 9db84075a083d851ec02917f926d44bc17e1f08e)
Diffstat (limited to 'create_tarball')
-rwxr-xr-x | create_tarball | 9 |
1 files changed, 6 insertions, 3 deletions
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 |