summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xclient/engine/Image.lib4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/engine/Image.lib b/client/engine/Image.lib
index 7c9ba704..4453bcfc 100755
--- a/client/engine/Image.lib
+++ b/client/engine/Image.lib
@@ -242,10 +242,10 @@ if [ "$#" -eq 4 ] || [ "$#" -eq 5 ]; then
IMGPATHPART1="$IMGPATH.1"
if [ -f "$IMGPATHPART1" ]; then
if [ ! -f "$IMGPATH".full.sum ]; then
- cat "$IMGPATH"*[0-3] | md5sum "$IMGPATH" | cut -f1 -d " " > "$IMGPATH".full.sum
+ cat "$IMGPATH"*[0-3] | md5sum | cut -f1 -d " " > "$IMGPATH".full.sum
fi
MD5FILE=$(cat "$IMGPATH".full.sum)
- MD5WGET=$(wget -qO - "$ogrepo:9999/$IMGPATH.full.sum")
+ MD5WGET=$(wget -qO - "$ogrepo:9999/$IMGFILE.full.sum")
if [ "$MD5FILE" != "$MD5WGET" ]; then
ogTiptorrentGetToCache "$IMGPATH" "$IMGFILE"
fi