[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:46:03 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=57a4a08

The following commit has been merged in the master branch:
commit 57a4a08458a45e550219e4c3f6cb1d90384cf6fb
Author: Robin Mills <robin at clanmills.com>
Date:   Sat Dec 12 11:58:56 2015 +0000

    #1041 date handling is locale independent
---
 jenkins_daily.sh | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/jenkins_daily.sh b/jenkins_daily.sh
index ef947ca..472a144 100755
--- a/jenkins_daily.sh
+++ b/jenkins_daily.sh
@@ -137,14 +137,12 @@ if [ -e $dist/$bin/exiv2$exe ]; then
     if [ ! -e $monly ]; then mkdir -p $monly ; fi
 
     if [ -e $jpubl ]; then
-        # parse output of date: Thu 10 Dec 2015 14:02:51 GMT
-        dow=$(date|cut -d' ' -f 1) # Thu   day of the week
-        dom=$(date|cut -d' ' -f 2) # 10    day of the month
-        mon=$(date|cut -d' ' -f 2) # Dec   month
+        dow=$(date  '+%w') # 0..6   day of the week
+        dom=$(date  '+%d') # 1..31  day of the month
+        mon=$(date  '+%m') # 1..12  month
+        date=$(date '+%Y-%m-%d+%H-%M-%S')
         svn=$($EXIV2_BINDIR/exiv2$exe -vVg|grep -e ^svn | cut -d= -f 2)
-        date=$(date +'%Y-%m-%d+%H-%M-%S')
         b="${PLATFORM}-svn-${svn}-date-${date}.tar.gz"
-        echo build = "$b"
 
         # create the bundle
         pushd build
@@ -162,8 +160,8 @@ if [ -e $dist/$bin/exiv2$exe ]; then
 
         # store the build
         cp $b $daily
-        if [ "$dow" == "Mon" ]; then cp $b $weely; fi
-        if [ "$dom" == "1"   ]; then cp $b $monly; fi
+        if [ "$dow" == "1" ]; then cp $b $weely; fi # Monday
+        if [ "$dom" == "1" ]; then cp $b $monly; fi
 
         echo '***' build = $b '***'
     else

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list