l10n-support/ca/scripts
Antoni Bella Pérez
null at kde.org
Tue Jun 5 22:16:33 UTC 2018
SVN commit 1517241 by bellaperez:
Catalan works: Fixes by Alexander Potashev
CCMAIL: kde-i18n-ca at kde.org, kde-i18n-doc at kde.org
M +3 -3 doc_parse_dates.sh
--- trunk/l10n-support/ca/scripts/doc_parse_dates.sh #1517240:1517241
@@ -81,10 +81,10 @@
GITDIR=$(grep "^entry $DOCDIR " scripts/documentation_paths)
fi
- [ -z $GITDIR ] && GITDIR="\e[0;31m** Solve GITDIR var! **\e[0m"
+ [ -z "$GITDIR" ] && GITDIR="\e[0;31m** Solve GITDIR var! **\e[0m"
echo -e "** $docdir -> $GITDIR" # NOTE: If GITDIR var is empty, add or change above
# Var empty, not pparsed
- [ -z $GITDIR ] && continue
+ [ -z "$GITDIR" ] && continue
# Without screenshots, not parsed
[ -z $(found_ss) ] && continue
@@ -96,7 +96,7 @@
do
GITM=$(echo $GITDIR | awk '{print $3}' FS=".git" | cut -f 2 -d'/')
GITD=$(echo $GITDIR | awk '{print $2}' FS="HEAD:")
- SCREENSHOT=$(filename $screenshot)
+ SCREENSHOT=$(basename $screenshot)
OUTPUT_FILE="$MODULE-$DOCDIR0$DOCDIR-$SCREENSHOT.html"
# Git: date get from the svn web server (I do not know any other option within the KDE infrastructure)
More information about the kde-i18n-ca
mailing list