projects
/
mapsector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
1f26a61
)
Add version variable
Stefan Bund [Fri, 6 Nov 2009 12:55:35 +0000 (13:55 +0100)]
lib/.gitignore
[new file with mode: 0644]
patch
|
blob
mapsector
patch
|
blob
|
history
diff --git a/lib/.gitignore
b/lib/.gitignore
new file mode 100644
(file)
index 0000000..
5e64463
--- /dev/null
+++ b/
lib/.gitignore
@@ -0,0
+1
@@
+/00_version.sh
diff --git
a/mapsector
b/mapsector
index
c3de5a8
..
a704e11
100755
(executable)
--- 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