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:02:21 +0100 |
commit | 9db84075a083d851ec02917f926d44bc17e1f08e (patch) | |
tree | 2ac8f1c02d13e888f57b21407f931d37e4db43af /create_tarball | |
parent | 5b81e0aa93702515e5ced5a1ebde5bcb1065190e (diff) | |
download | scripts-9db84075a083d851ec02917f926d44bc17e1f08e.tar.gz scripts-9db84075a083d851ec02917f926d44bc17e1f08e.zip |
create_tarball: Adapted to new 'core' folder for core modules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
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 282225d..11bd9ee 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 |