From 395723d50a5a821401b200a2103a269b8edc9adb Mon Sep 17 00:00:00 2001 From: felmer <felmer> Date: Wed, 28 Sep 2011 08:49:45 +0000 Subject: [PATCH] search only snapshot files of type *.tgz SVN: 23120 --- openbis_all/source/bash/servers-startup-from-latest-snapshot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbis_all/source/bash/servers-startup-from-latest-snapshot.sh b/openbis_all/source/bash/servers-startup-from-latest-snapshot.sh index 7378fca6e00..7451210e041 100755 --- a/openbis_all/source/bash/servers-startup-from-latest-snapshot.sh +++ b/openbis_all/source/bash/servers-startup-from-latest-snapshot.sh @@ -30,5 +30,5 @@ if [ ! -d "$SNAPSHOT_REPOSITORY" ]; then echo "$SNAPSHOT_REPOSITORY doesn't exist or isn't a directory." exit 1 fi -LATEST_SNAPSHOT=`ls "$SNAPSHOT_REPOSITORY/openbis-snapshot"*|sort -r|sed q` +LATEST_SNAPSHOT=`ls "$SNAPSHOT_REPOSITORY/openbis-snapshot"*.tgz|sort -r|sed q` "$BIN_DIR/servers-startup-from-snapshot.sh" "$SERVERS" "$LATEST_SNAPSHOT" -- GitLab