summaryrefslogtreecommitdiffstats
path: root/create_all_tarballs
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-11-16 12:02:21 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-11-16 12:02:21 +0100
commit9db84075a083d851ec02917f926d44bc17e1f08e (patch)
tree2ac8f1c02d13e888f57b21407f931d37e4db43af /create_all_tarballs
parent5b81e0aa93702515e5ced5a1ebde5bcb1065190e (diff)
downloadscripts-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_all_tarballs')
-rwxr-xr-xcreate_all_tarballs9
1 files changed, 6 insertions, 3 deletions
diff --git a/create_all_tarballs b/create_all_tarballs
index 33d8a40..81a7444 100755
--- a/create_all_tarballs
+++ b/create_all_tarballs
@@ -77,10 +77,13 @@ fi
# Set target version
if [ -z "$TARGET" ]; then
- if [ -f main/tdelibs/tdecore/tdeversion.h ]; then
+ if [ -f main/core/tdelibs/tdecore/tdeversion.h ]; then
+ tdeversionHeader=main/core/tdelibs/tdecore/tdeversion.h
+ elif [ -f main/core/tdelibs/kdecore/kdeversion.h ]; then
+ tdeversionHeader=main/core/tdelibs/kdecore/kdeversion.h
+ elif [ -f main/tdelibs/tdecore/tdeversion.h ]; then
tdeversionHeader=main/tdelibs/tdecore/tdeversion.h
- fi
- if [ -f main/tdelibs/kdecore/kdeversion.h ]; then
+ elif [ -f main/tdelibs/kdecore/kdeversion.h ]; then
tdeversionHeader=main/tdelibs/kdecore/kdeversion.h
fi
if [ -z "$tdeversionHeader" ]; then