summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalkannel-dispatch2
1 files changed, 1 insertions, 1 deletions
diff --git a/localkannel-dispatch b/localkannel-dispatch
index f342721..00f7f5c 100755
--- a/localkannel-dispatch
+++ b/localkannel-dispatch
@@ -241,7 +241,7 @@ and (if included) send MSG to subscribers."
esac
# FIXME: Avoid hardcoding national prefix
while targetphone="$(echo "$1" | perl -pe 's/^(?=[^+])/+36/;' -e '/^\+\d+$/ or exit 1;')"; do
- targetphones="${$targetphones:+$targetphones }$targetphone"
+ targetphones="${targetphones:+$targetphones }$targetphone"
shift
# Sanity check