ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/util/ota-publish
(Generate patch)

Comparing deliantra/Deliantra-Client/util/ota-publish (file contents):
Revision 1.1 by root, Wed Jan 4 09:16:40 2012 UTC vs.
Revision 1.2 by root, Thu Jan 5 05:37:02 2012 UTC

22 22
23 . dist/"$dist".vars 23 . dist/"$dist".vars
24 24
25 NAME="1.0,deliantra_S-$G_OS-$G_ARCHNAME.pck" 25 NAME="1.0,deliantra_S-$G_OS-$G_ARCHNAME.pck"
26 cp dist/"$dist".bin "$DEST/$NAME" 26 cp dist/"$dist".bin "$DEST/$NAME"
27 md5=$(md5sum -b <dist/"$dist".bin | cut -c1-32)
27 chmod 644 "$DEST/$NAME" 28 chmod 644 "$DEST/$NAME"
28 echo " \"$NAME\" : { \"exe_ver\" : \"$EXE_VER\" }," 29 echo " \"$NAME\" : { \"exe_ver\" : \"$EXE_VER\", \"md5\" : \"$md5\" },"
29 done 30 done
30 echo "}" 31 echo "}"
31) >"$DEST/meta" 32) >"$DEST/meta"
32 33
33 34

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines