diff options
author | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-06-18 06:56:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@open-infrastructure.net> | 2016-07-01 09:31:10 +0000 |
commit | 6c37cab149240b69044670c2ef6d03027a690312 (patch) | |
tree | 2c838dcc1493ea6b739d9c016f2a46dc05ca57dd /lib/container | |
parent | Using global path definition in container create command for consistency. (diff) | |
download | compute-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/container')
-rwxr-xr-x | lib/container/version | 4 |
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" |