diff --git a/Core/tde-i18n/tde-i18n.SlackBuild b/Core/tde-i18n/tde-i18n.SlackBuild index 97d81db..4e10600 100755 --- a/Core/tde-i18n/tde-i18n.SlackBuild +++ b/Core/tde-i18n/tde-i18n.SlackBuild @@ -35,11 +35,11 @@ getsource_fn ## extract, build, and remove source for each language package one at a time cd $TMP_BUILD/tmp-$PRGNAM -[[ $TDEVERSION == [rR]14.0.? ]] && { -[[ $TDEVERSION == r14.0.? ]] && SNAPSHOT=-$TDEVERSION +[[ $TDEVERSION == *14.0.? ]] && { +[[ $TDEVERSION == r14.0.? ]] && SNAPSHOT=-$TDEVERSION || SNAPSHOT=-trinity-$TDEVERSION # extract the cmake source once only echo -e "\033[39;1m" -echo "Extracting the cmake source from the $PRGNAM archive ..." +echo "Extracting the cmake source from the $(basename $SOURCE) archive ..." echo -e "\033[0m" tar xf $SOURCE $PRGNAM${SNAPSHOT:-}/cmake [[ $TDEVERSION == r14.0.? ]] && { @@ -49,10 +49,10 @@ tar xf $SRCDIR/../../src/cmake-$TDEVERSION.$ARCHIVE_TYPE --strip-components=1 -C } for lang in $I18N do -[[ $TDEVERSION == [rR]14.0.? ]] && { +[[ $TDEVERSION == *14.0.? ]] && { # extract the source for one language at a time for each iteration of the loop echo -e "\033[39;1m" -echo "Extracting the $PRGNAM-$lang source from the $PRGNAM archive ..." +echo "Extracting the $PRGNAM-$lang source from the $(basename $SOURCE) archive ..." echo -e "\033[0m" tar -xf $SOURCE $PRGNAM${SNAPSHOT:-}/$PRGNAM-$lang cd $PRGNAM*