summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-06-18 06:56:03 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2016-07-01 09:31:10 +0000
commit6c37cab149240b69044670c2ef6d03027a690312 (patch)
tree2c838dcc1493ea6b739d9c016f2a46dc05ca57dd /lib
parentUsing global path definition in container create command for consistency. (diff)
downloadcompute-tools-6c37cab149240b69044670c2ef6d03027a690312.tar.xz
compute-tools-6c37cab149240b69044670c2ef6d03027a690312.zip
Using global path definition in container version command for consistency.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'lib')
-rwxr-xr-xlib/container/version4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/container/version b/lib/container/version
index b7e259d..b57c17d 100755
--- a/lib/container/version
+++ b/lib/container/version
@@ -18,4 +18,6 @@
set -e
-cat /usr/share/container-tools/VERSION.txt
+SHARE="/usr/share/container-tools"
+
+cat "${SHARE}/VERSION.txt"