diff options
author | Linus Nordberg <linus@nordberg.se> | 2015-05-11 11:56:53 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2015-05-11 11:56:53 +0200 |
commit | 2b9e3a14450ce2558a3cad3267e2a3a673a56594 (patch) | |
tree | ce726b55b06cdd31b152eac75964ef37be66ee9d /packaging/docker | |
parent | 73b88196765b8488aac528426bffc2f7768b3bdd (diff) |
[docker] Handle version numbers containgin dashes correctly in start.sh.
Diffstat (limited to 'packaging/docker')
-rwxr-xr-x | packaging/docker/catlfish-dev/start.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/docker/catlfish-dev/start.sh b/packaging/docker/catlfish-dev/start.sh index 904ea10..c232f47 100755 --- a/packaging/docker/catlfish-dev/start.sh +++ b/packaging/docker/catlfish-dev/start.sh @@ -19,7 +19,7 @@ case $role in # Catlfish version is included in filename of archive and # filename in that archive. Example: lib/catlfish-0.6.0.ez # contains catlfish-0.6.0. - ver=$(ls $erlbase/lib/catlfish-*.ez | sed 's/.*-\(.*\)\.ez/\1/1') + ver=$(ls $erlbase/lib/catlfish-*.ez | sed 's/.*catlfish-\(.*\)\.ez/\1/1') ERL_LIBS=$erlbase/lib/catlfish-${ver}.ez/catlfish-${ver} ERL_LIBS=$ERL_LIBS:$erlbase/lib/lager-2.1.1.ez/lager-2.1.1 export ERL_LIBS |