mirror of
https://github.com/YunoHost/yunohost-ci.git
synced 2024-09-03 20:05:53 +02:00
match the whole word
This commit is contained in:
parent
1abb4d602d
commit
84b27c25ed
1 changed files with 3 additions and 3 deletions
|
@ -12,7 +12,7 @@ trap "exit $SYSTEM_FAILURE_EXIT_CODE" ERR
|
||||||
start_container () {
|
start_container () {
|
||||||
if ! lxc info "$CONTAINER_IMAGE" >/dev/null 2>/dev/null ; then
|
if ! lxc info "$CONTAINER_IMAGE" >/dev/null 2>/dev/null ; then
|
||||||
warn 'Container not found, copying it from the prebuilt image'
|
warn 'Container not found, copying it from the prebuilt image'
|
||||||
if ! lxc info "$BASE_IMAGE" | grep -q "$CURRENT_VERSION-$SNAPSHOT_NAME"
|
if ! lxc info "$BASE_IMAGE" | grep -w "$CURRENT_VERSION-$SNAPSHOT_NAME" >/dev/null
|
||||||
then
|
then
|
||||||
error "$BASE_IMAGE not found, please rebuild with rebuild_all.sh"
|
error "$BASE_IMAGE not found, please rebuild with rebuild_all.sh"
|
||||||
# Inform GitLab Runner that this is a system failure, so it
|
# Inform GitLab Runner that this is a system failure, so it
|
||||||
|
|
Loading…
Reference in a new issue