From 2b9e3a14450ce2558a3cad3267e2a3a673a56594 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 11 May 2015 11:56:53 +0200 Subject: [docker] Handle version numbers containgin dashes correctly in start.sh. --- packaging/docker/catlfish-dev/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging/docker/catlfish-dev') 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 -- cgit v1.1