From ce1aa0b33271d3cad06ee52004f011d00195aebc Mon Sep 17 00:00:00 2001 From: Irina Gómez Date: Fri, 22 Mar 2019 13:44:53 +0100 Subject: #905 Fix deployImage: When protocol is '*-CACHE' remove string after the hyphen --- client/shared/scripts/deployImage | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/shared/scripts') diff --git a/client/shared/scripts/deployImage b/client/shared/scripts/deployImage index 824da2af..b6696443 100755 --- a/client/shared/scripts/deployImage +++ b/client/shared/scripts/deployImage @@ -119,6 +119,8 @@ case "$MODE" in # Si protocolo es torrent|torrent-cache o multicast|multicast-cache TORRENT|TORRENT-CACHE|MULTICAST|MULTICAST-CACHE|UNICAST|UNICAST-CACHE) + # Eliminamos CACHE o DIRECT + PROTO=${PROTO%%-*} ogEcho log session "[2] updateCache "$REPO" \"/$IMGNAME.img\" $PROTO $PROTOOPT" TIME2=$SECONDS updateCache "$REPO" "/$IMGNAME.img" "$PROTO" "$PROTOOPT" -- cgit v1.2.3-18-g5258