[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-ca
Subject:    l10n-support/ca/scripts
From:       Antoni Bella PĂ©rez <null () kde ! org>
Date:       2018-06-05 22:16:33
Message-ID: E1fQKFl-00039A-UN () code ! kde ! org
[Download RAW message or body]

SVN commit 1517241 by bellaperez:

Catalan works: Fixes by Alexander Potashev

CCMAIL: kde-i18n-ca@kde.org, kde-i18n-doc@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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic