create_tarball: Adapted to new 'core' folder for core modules.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 9db84075a0)
r14.0.x
Slávek Banko 4 years ago
parent f7a155f1a9
commit f2c0ac2aa5
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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

@ -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

Loading…
Cancel
Save