From d54a57d6be54e1a5f27530d48c128cc587c9ddb6 Mon Sep 17 00:00:00 2001 From: irina Date: Tue, 26 Mar 2013 11:44:13 +0000 Subject: #565 sincronizadas interfaz consola correccion error en argumentos git-svn-id: https://opengnsys.es/svn/branches/version1.0@3715 a21b9725-9963-47de-94b9-378ad31fedc9 --- admin/Interface/CrearSoftIncremental | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'admin/Interface/CrearSoftIncremental') diff --git a/admin/Interface/CrearSoftIncremental b/admin/Interface/CrearSoftIncremental index fd06b2ec..c19e86f0 100755 --- a/admin/Interface/CrearSoftIncremental +++ b/admin/Interface/CrearSoftIncremental @@ -61,8 +61,8 @@ DIFFEXT=".diff" echo "$3" | tee -a $OGLOGSESSION $OGLOGFILE [ "$4" == "0.0.0.0" ] && DEST="CACHE" || DEST="REPO" -echo createDiffImage "$1" "$2" "$DEST" "$3" | tee -a $OGLOGSESSION $OGLOGFILE -echo 1: "$1" 2: "$2" 3: "$3" 4: "$4" 5: $5 6: $6 7: $7 i| tee -a $OGLOGSESSION $OGLOGFILE +#echo createDiffImage "$1" "$2" "$DEST" "$3" | tee -a $OGLOGSESSION $OGLOGFILE +#echo 1: "$1" 2: "$2" 3: "$3" 4: "$4" 5: $5 6: $6 7: $7 i| tee -a $OGLOGSESSION $OGLOGFILE # Si DELIMG = 0 borramos imagen del destino. if [ $DELIMG -eq 1 ]; then @@ -71,13 +71,13 @@ fi # Creamos la imagen. -createDiffImage "$1" "$2" "$DEST" "$3" &>$OGLOGSESSION +createDiffImage "$1" "$2" "$DEST" "$3" "$5" &>$OGLOGSESSION # Si COPYCACHE = 1 copiamos la imagen a la cache if [ $COPYCACHE -eq 1 ]; then # Si BORRACACHE=1 Borramos imagen de cache - [ $BORRACACHE -eq 1 ] && CACHEFILE=$(ogGetPath "CACHE" "$3$DIFFEXT") && rm -rf $CACHEFILE - updateCache "REPO" /"$3.diff" UNICAST &>>$OGLOGSESSION + [ $BORRACACHE -eq 1 ] && CACHEFILE=$(ogGetPath "CACHE" "$5$DIFFEXT") && rm -rf $CACHEFILE + updateCache "REPO" /"$5.diff" UNICAST &>>$OGLOGSESSION fi -- cgit v1.2.3-18-g5258