Fix for issue #17

pull/25/head
Ray-V 5 years ago
parent ee37f09793
commit fee28837e7

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

Loading…
Cancel
Save