70d7897a16
Rebase patch to match what upstream actually have commited. OBS-URL: https://build.opensuse.org/request/show/265570 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/geeqie?expand=0&rev=10
22 lines
678 B
Diff
22 lines
678 B
Diff
diff -Ndur geeqie-1.1/plugins/rotate/geeqie-rotate geeqie-1.1-fix-bashisms/plugins/rotate/geeqie-rotate
|
|
--- geeqie-1.1/plugins/rotate/geeqie-rotate 2012-08-12 23:13:40.000000000 +0300
|
|
+++ geeqie-1.1-fix-bashisms/plugins/rotate/geeqie-rotate 2014-11-17 05:25:16.014771785 +0200
|
|
@@ -8,7 +8,7 @@
|
|
rotate()
|
|
{
|
|
ext=`echo "${1##*.}" |tr "[:upper:]" "[:lower:]"`
|
|
- [ "x$ext" == "x" ] && return 1 #no extension
|
|
+ [ "x$ext" = "x" ] && return 1 #no extension
|
|
|
|
gq_metadata="$GQ_METADATA_DIR/$1.gq.xmp"
|
|
if [ -f "$gq_metadata" ]; then
|
|
@@ -48,7 +48,7 @@
|
|
}
|
|
|
|
get_sidecars=
|
|
-if [ "x$1" == "x-g" ] ; then
|
|
+if [ "x$1" = "x-g" ] ; then
|
|
get_sidecars=yes
|
|
shift
|
|
fi
|