summaryrefslogtreecommitdiffstats
path: root/client/engine/Rsync.lib
diff options
context:
space:
mode:
authoririna <irinagomez@us.es>2014-11-04 08:53:31 +0000
committeririna <irinagomez@us.es>2014-11-04 08:53:31 +0000
commit1cacd3fa1a1ae1f36bb07b6c57eddf18c1e50684 (patch)
treedbabc56e06205af00ba8e7f76397964b05fb5eee /client/engine/Rsync.lib
parent26255c270c9515d9b19189546ed1e158531e2b87 (diff)
#657 sincronizadas tipo archivo: errata Rsync.lib
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4424 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Rsync.lib')
-rwxr-xr-xclient/engine/Rsync.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/engine/Rsync.lib b/client/engine/Rsync.lib
index e70ea241..3435a119 100755
--- a/client/engine/Rsync.lib
+++ b/client/engine/Rsync.lib
@@ -100,7 +100,7 @@ if [ "$1" == "CACHE" -o "$1" == "cache" ]; then
#Formateamos imagen
losetup $LOOPDEVICE $IMGFILE
# FS de la imagen segun la configuracion y la version del kernel: < 3.7 ext4, si >= btrfs
- [ $KERNELVERSION \< 3.07 ] && IMGFS == "EXT4" || IMGFS=${IMGFS:-"BTRFS"}
+ [ $KERNELVERSION \< 3.07 ] && IMGFS = "EXT4" || IMGFS=${IMGFS:-"BTRFS"}
if [ "$IMGFS" == "EXT4" ]; then
echo " mkfs.ext4 -i 4096 -b 4096 -L "${2##*\/}" $LOOPDEVICE"
@@ -195,7 +195,7 @@ SIZEDATA=${SIZEDATA:-"SIZEDATA"}
# Incluimos informaciĆ³n de la imagen. Segun el kernel sera ext4 o btrfs.
KERNELVERSION=$(uname -r| awk '{printf("%d",$1);sub(/[0-9]*\./,"",$1);printf(".%02d",$1)}')
-[ $KERNELVERSION \< 3.07 ] && IMGFS == "EXT4" || IMGFS=${IMGFS:-"BTRFS"}
+[ $KERNELVERSION \< 3.07 ] && IMGFS = "EXT4" || IMGFS=${IMGFS:-"BTRFS"}
echo "#$IMGFS:NO:$FSTYPE:$SIZEDATA" > $IMGINFO
if [ "$IMGTYPE" == "img" ]; then