projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0795905
)
Fix bashism
author
Michal Čihař
<nijel@debian.org>
Sun, 12 Dec 2010 12:35:54 +0000
(13:35 +0100)
committer
Laurent Monin
<zas@norz.org>
Thu, 16 Aug 2012 21:27:07 +0000
(23:27 +0200)
plugins/rotate/geeqie-rotate
patch
|
blob
|
history
diff --git
a/plugins/rotate/geeqie-rotate
b/plugins/rotate/geeqie-rotate
index
939c272
..
1c1184e
100755
(executable)
--- a/
plugins/rotate/geeqie-rotate
+++ b/
plugins/rotate/geeqie-rotate
@@
-8,7
+8,7
@@
GQ_METADATA_DIR="$HOME/.local/share/geeqie/metadata"
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
@@
rotate()
}
get_sidecars=
-if [ "x$1" =
=
"x-g" ] ; then
+if [ "x$1" = "x-g" ] ; then
get_sidecars=yes
shift
fi