summaryrefslogtreecommitdiff
path: root/editpix.sh
diff options
context:
space:
mode:
authorst33v <github@f3rr3t.com>2017-06-16 19:34:58 +1000
committerst33v <github@f3rr3t.com>2017-06-16 19:34:58 +1000
commit3c07072fe3fccee18fe1803506db1be18c3459d2 (patch)
tree86f05d7f3117913f64b6004161b8febd95836be8 /editpix.sh
parentb27933455be13bb1b743d33d9b28ad3aa86a1e9f (diff)
fixed comparison operator from integer to string.
Diffstat (limited to 'editpix.sh')
-rwxr-xr-xeditpix.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/editpix.sh b/editpix.sh
index 83caf68..161d97e 100755
--- a/editpix.sh
+++ b/editpix.sh
@@ -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)