"Fossies" - the Fresh Open Source Software Archive

Member "zsync-0.6.2/check-zsyncmake" (20 Sep 2010, 328 Bytes) of package /linux/privat/old/zsync-0.6.2.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh -e
    2 
    3 ${top_builddir-.}/zsyncmake -u foo -f foo ${srcdir-.}/INSTALL
    4 
    5 # Note TAB required for Solaris cksum
    6 x=`perl -pe 's/^(zsync:).*$/$1 XXX/; s/^(MTime:)(.*)$/my ($x, $y) = ($1, $2); $y =~ s![a-zA-Z0-9]!_!g; "$x$y"/e;' foo.zsync | tee foo.tr.zsync | cksum | sed -e 's/[    ][0-9].*//'`
    7 [ $x = 4103379992 ]
    8 rm foo.zsync
    9