From: Ferry Huberts <[email protected]>

Signed-off-by: Ferry Huberts <[email protected]>
---
 filters/syntax-highlighting.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/filters/syntax-highlighting.sh b/filters/syntax-highlighting.sh
index c930e07..0f97fea 100755
--- a/filters/syntax-highlighting.sh
+++ b/filters/syntax-highlighting.sh
@@ -36,8 +36,8 @@
 #
 
 # store filename and extension in local vars
-BASENAME="$1"
-EXTENSION="${BASENAME##*.}"
+declare BASENAME="$1"
+declare EXTENSION="${BASENAME##*.}"
 
 # map Makefile and Makefile.* to .mk
 [ "${BASENAME%%.*}" == "Makefile" ] && EXTENSION=mk
-- 
1.7.7.6


_______________________________________________
cgit mailing list
[email protected]
http://hjemli.net/mailman/listinfo/cgit

Reply via email to