diff options
| author | st33v <github@f3rr3t.com> | 2017-06-16 19:34:58 +1000 |
|---|---|---|
| committer | st33v <github@f3rr3t.com> | 2017-06-16 19:34:58 +1000 |
| commit | 3c07072fe3fccee18fe1803506db1be18c3459d2 (patch) | |
| tree | 86f05d7f3117913f64b6004161b8febd95836be8 /editpix.sh | |
| parent | b27933455be13bb1b743d33d9b28ad3aa86a1e9f (diff) | |
fixed comparison operator from integer to string.
Diffstat (limited to 'editpix.sh')
| -rwxr-xr-x | editpix.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ do # Check to see if the pic is too dark (i.e. taken at night) mean=$(identify -format %[mean] ${newpic} | sed s/[.].*//) # echo "mean is $mean" - if [ "${campi}" -eq "lucerne" ] ; then + if [ "${campi}" = "lucerne" ] ; then threshold=6000 # shocking hack to compensate for new cam type fi # Test to see if it is too dark (nighttime) |
