Hello community,

here is the log from the commit of package kdesdk4-scripts for openSUSE:Factory 
checked in at 2014-11-26 10:34:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdesdk4-scripts (Old)
 and      /work/SRC/openSUSE:Factory/.kdesdk4-scripts.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdesdk4-scripts"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kdesdk4-scripts/kdesdk4-scripts.changes  
2014-11-19 20:24:54.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.kdesdk4-scripts.new/kdesdk4-scripts.changes     
2014-11-26 10:34:12.000000000 +0100
@@ -1,0 +2,7 @@
+Sun Nov 23 05:43:00 UTC 2014 - Led <[email protected]>
+
+- fix bashisms in scripts
+- add patches:
+  * kde-dev-scripts-4.14.3-fix-bashisms.patch
+
+-------------------------------------------------------------------

New:
----
  kde-dev-scripts-4.14.3-fix-bashisms.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdesdk4-scripts.spec ++++++
--- /var/tmp/diff_new_pack.EILQ2G/_old  2014-11-26 10:34:13.000000000 +0100
+++ /var/tmp/diff_new_pack.EILQ2G/_new  2014-11-26 10:34:13.000000000 +0100
@@ -27,6 +27,7 @@
 Version:        4.14.3
 Release:        0
 Source0:        %{rname}-%{version}.tar.xz
+Patch0:         %{rname}-4.14.3-fix-bashisms.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %kde4_runtime_requires
 
@@ -36,6 +37,7 @@
 
 %prep
 %setup -q -n %{rname}-%{version}
+%patch0 -p1
 
 %build
 %ifarch ppc64

++++++ kde-dev-scripts-4.14.3-fix-bashisms.patch ++++++
diff -Ndur kde-dev-scripts-4.14.3/build-progress.sh 
kde-dev-scripts-4.14.3-fix-bashisms/build-progress.sh
--- kde-dev-scripts-4.14.3/build-progress.sh    2014-08-07 01:27:53.000000000 
+0300
+++ kde-dev-scripts-4.14.3-fix-bashisms/build-progress.sh       2014-11-23 
07:41:50.639487523 +0200
@@ -5,7 +5,7 @@
 # <[email protected]> for the code :-)
 set_title() {
 if ([ "$TERM" = "xterm" ] || [ "$TERM" = "xterm-color" ] || [ "$TERM" = 
"screen" ]) && tty -s; then
-  echo -ne "\033]0;$1\007"
+  printf "\033]0;$1\007"
 fi
 }
 . ./kde-buildrc
diff -Ndur kde-dev-scripts-4.14.3/cheatmake 
kde-dev-scripts-4.14.3-fix-bashisms/cheatmake
--- kde-dev-scripts-4.14.3/cheatmake    2014-08-07 01:27:53.000000000 +0300
+++ kde-dev-scripts-4.14.3-fix-bashisms/cheatmake       2014-11-23 
07:41:13.496485515 +0200
@@ -31,7 +31,7 @@
 fi
 cd $builddir
 srcdir=`egrep '^srcdir *=' Makefile | sed -e "s#srcdir *= *##"`
-UNSERMAKE=`type -p unsermake`
+type unsermake >/dev/null 2>&1 && UNSERMAKE=unsermake || UNSERMAKE=
 using_unsermake=
 if head -n 1 Makefile | grep unsermake >/dev/null; then
     using_unsermake=new
diff -Ndur kde-dev-scripts-4.14.3/cvsaddcurrentdir 
kde-dev-scripts-4.14.3-fix-bashisms/cvsaddcurrentdir
--- kde-dev-scripts-4.14.3/cvsaddcurrentdir     2014-08-07 01:27:53.000000000 
+0300
+++ kde-dev-scripts-4.14.3-fix-bashisms/cvsaddcurrentdir        2014-11-23 
07:38:19.784476123 +0200
@@ -17,7 +17,7 @@
 echo
 read answer"?Add file $file to cvs ? (y/n) " rest
 #if [ "$answer" != "y" ]; then echo $file; fi
-if [ "$answer" == "y" ]; then cvs add $file; fi
+if [ "$answer" = "y" ]; then cvs add $file; fi
 }
 
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to