diff options
author | irina <irinagomez@us.es> | 2013-03-26 11:44:13 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2013-03-26 11:44:13 +0000 |
commit | d54a57d6be54e1a5f27530d48c128cc587c9ddb6 (patch) | |
tree | 80f7acb9bd32ddce89c2ec2ba788f0b5eab15e4a /admin/Interface/CrearSoftIncremental | |
parent | 765826bafd1490597a60c8c4d4a482715f918adb (diff) |
#565 sincronizadas interfaz consola correccion error en argumentos
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3715 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Interface/CrearSoftIncremental')
-rwxr-xr-x | admin/Interface/CrearSoftIncremental | 10 |
1 files changed, 5 insertions, 5 deletions
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 |