Skip to content
Snippets Groups Projects
Commit 395723d5 authored by felmer's avatar felmer
Browse files

search only snapshot files of type *.tgz

SVN: 23120
parent d6977174
No related branches found
No related tags found
No related merge requests found
...@@ -30,5 +30,5 @@ if [ ! -d "$SNAPSHOT_REPOSITORY" ]; then ...@@ -30,5 +30,5 @@ if [ ! -d "$SNAPSHOT_REPOSITORY" ]; then
echo "$SNAPSHOT_REPOSITORY doesn't exist or isn't a directory." echo "$SNAPSHOT_REPOSITORY doesn't exist or isn't a directory."
exit 1 exit 1
fi 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" "$BIN_DIR/servers-startup-from-snapshot.sh" "$SERVERS" "$LATEST_SNAPSHOT"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment