diff options
author | Irina Gómez <irinagomez@us.es> | 2019-03-22 13:44:53 +0100 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2019-03-22 13:44:53 +0100 |
commit | ce1aa0b33271d3cad06ee52004f011d00195aebc (patch) | |
tree | 0340c051e3bac17a9cb291d0c2b407f8310c6ec3 | |
parent | 52ff48909f43e37aafc586afcbef04787b12fc11 (diff) |
#905 Fix deployImage: When protocol is '*-CACHE' remove string after the hyphen
-rwxr-xr-x | client/shared/scripts/deployImage | 2 |
1 files changed, 2 insertions, 0 deletions
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" |