2014-12-16 23:49:48 +01:00
|
|
|
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
|
2014-12-17 18:16:24 +01:00
|
|
|
+ [ "x$ext" = "x" ] && return 1 #no extension
|
2014-12-16 23:49:48 +01:00
|
|
|
|
|
|
|
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
|