summaryrefslogtreecommitdiffstats
path: root/client/engine/Image.lib
diff options
context:
space:
mode:
authoralbertogp <albertogp@uma.es>2014-06-05 17:56:15 +0000
committeralbertogp <albertogp@uma.es>2014-06-05 17:56:15 +0000
commit11312082d75ae010c22ad727da7fcb9e41f9f698 (patch)
tree73f01ec7b34e978caf57dfc673b29c181e037fd1 /client/engine/Image.lib
parent51953ae4bba78b9ffc0d27bfa05cb58e627e62b4 (diff)
#541
Función ogGetImageInfo corrección de error en condición if [ "$FSPLUS" == "PLUS" ] git-svn-id: https://opengnsys.es/svn/branches/version1.0@4295 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Image.lib')
-rwxr-xr-xclient/engine/Image.lib2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/engine/Image.lib b/client/engine/Image.lib
index a760cffc..81014462 100755
--- a/client/engine/Image.lib
+++ b/client/engine/Image.lib
@@ -680,7 +680,7 @@ then
if [[ "$FS" == "HFS" || "$FS" == "HFSPLUS" || "$FS" == "FAT32" ]]; then
FSPLUS=$(echo $PARTCLONEINFO | awk '{gsub(/\: /,"\n"); print toupper($9);}')
echo $PARTCLONEINFO | grep GB > /dev/null && SIZEFACTOR=1000000 || SIZEFACTOR=1024
- if [ "$FSPLUS" -eq "PLUS" ]; then
+ if [ "$FSPLUS" == "PLUS" ]; then
FS=$FS$FSPLUS
SIZE=$(echo $PARTCLONEINFO | awk -v FACTOR=$SIZEFACTOR '{printf "%d\n", $17*FACTOR;}')
else