diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2014-11-18 21:53:54 +0100 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2014-11-18 21:55:15 +0100 |
commit | 02ac8a51c373307ceaf110de1e38b6467da5228b (patch) | |
tree | ad9ba0c176f95b84f952047ebf46282dcc825aea /helper/vercomp | |
parent | b33ab40542ac13d80b8f1701e685a34d8d9f20d6 (diff) |
helper: add include guards and filetype settings for vim
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'helper/vercomp')
-rw-r--r-- | helper/vercomp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/helper/vercomp b/helper/vercomp index 0d28aa6..f252d12 100644 --- a/helper/vercomp +++ b/helper/vercomp @@ -1,4 +1,5 @@ -#!/bin/bash +[ -n "$VERCOMP_HELPER" ] && return || readonly VERCOMP_HELPER=1 + vercomp_internal () { if [[ $1 == $2 ]] then @@ -40,4 +41,4 @@ vercomp() { echo "$op" } -## vim: set sw=4 sts=4 et foldmethod=syntax : ## +## vim: set ft=sh sw=4 sts=4 et foldmethod=syntax : ## |