From: Stefan Bund Date: Fri, 6 Nov 2009 12:55:35 +0000 (+0100) Subject: Add version variable X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=63c6e66327b6462dd7b5a41439c0eeb11be292aa;hp=1f26a61aac4fa8d86ce7b32b7f22b977d8f1f7d1;p=mapsector.git Add version variable --- diff --git a/lib/.gitignore b/lib/.gitignore new file mode 100644 index 0000000..5e64463 --- /dev/null +++ b/lib/.gitignore @@ -0,0 +1 @@ +/00_version.sh diff --git a/mapsector b/mapsector index c3de5a8..a704e11 100755 --- a/mapsector +++ b/mapsector @@ -4,6 +4,7 @@ mappers="" scanners="" +version="unknown" register_mapper() { @@ -120,6 +121,8 @@ mapsector will give you the mountpoint). if '--noscan' is given, the possibly lengthy (!!) filesystem scan for filenames is skipped. + +-- mapsector Version $version EOF exit "${help:-1}" fi