aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Steinel <fsteinel-git@github.com.flonet.net>2017-01-09 09:20:25 +0100
committernutzer <you@domain.com>2017-01-09 09:20:25 +0100
commitbf7f304d6644307308fd11f43d46a6b50af5ef8a (patch)
tree25b2ac52bb35ed89535fab2f4223e71c943103e2
parentda5d1f7daeafae934ec2352e16c71b0314f52eb1 (diff)
fix whitespace
-rw-r--r--numnodes.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/numnodes.sh b/numnodes.sh
index 29858b1..296d77e 100644
--- a/numnodes.sh
+++ b/numnodes.sh
@@ -8,13 +8,13 @@ case $num in
''|*[!0-9]*) echo "bad number: >>$num<<" ;;
*)
if test "$num" -ge 1; then
-
+
num="$(expr $num - 4)"
cd "$(dirname "$0")"
-
+
sed 's/<NUM_NODES>/'"$num"'/g' numnodes.template > _site/numnodes.html
-
- fi
+
+ fi
;;
esac
# vim: syntax=bash ts=4 sw=4 sts=4 sr noet