[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=555caac

The following commit has been merged in the master branch:
commit 555caac16529a9b7983f5023ae136e156070497d
Author: Robin Mills <robin at clanmills.com>
Date:   Fri Dec 11 19:26:01 2015 +0000

    #1041: Changes to set PLATFORM correctly.
---
 jenkins_daily.sh | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/jenkins_daily.sh b/jenkins_daily.sh
index 83b249f..ae6d5ba 100755
--- a/jenkins_daily.sh
+++ b/jenkins_daily.sh
@@ -12,9 +12,23 @@ vs=2013
 
 result=0
 
-uname=$(uname)
-if [ "$uname"    == "Linux"  ]; then PLATFORM=linux  ; fi
-if [ "$uname"    == "Darwin" ]; then PLATFORM=macosx ; fi
+##
+# which PLATFORM
+if [ "$PLATFORM" == "" ]; then 
+    export PLATFORM=''
+    if [ `uname` == Darwin  ]; then
+        PLATFORM=macosx
+    elif [ `uname -o` == Cygwin ]; then
+        PLATFORM=cygwin
+        # tweak path to ensure the correct version of perl and expr for autotools
+        export "PATH=/bin:$PATH"
+    elif [ `uname -o` == Msys ]; then
+        PLATFORM=mingw
+    else
+        PLATFORM=linux
+    fi
+fi
+
 ##
 # determine location of the build and source directories
 if [ "$PLATFORM" == "msvc" ]; then

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list