Parent Directory | Revision Log | Patch
revision 2796 by boklm, Sun Jul 29 21:20:44 2012 UTC | revision 2797 by boklm, Sun Jul 29 21:22:34 2012 UTC | |
---|---|---|
# | Line 13 comment="$2" | Line 13 comment="$2" |
13 | ||
14 | /bin/cat > "$tmpfile" | /bin/cat > "$tmpfile" |
15 | sha1sum=$(/usr/bin/sha1sum "$tmpfile" | sed 's/ .*$//') | sha1sum=$(/usr/bin/sha1sum "$tmpfile" | sed 's/ .*$//') |
16 | test -n "$sha1sum" | |
17 | if [ -f "$binrepodir/$sha1sum" ] | if [ -f "$binrepodir/$sha1sum" ] |
18 | then | then |
19 | echo "File $sha1sum already exists." >&2 | echo "File $sha1sum already exists." >&2 |
|
ViewVC Help | |
Powered by ViewVC 1.1.30 |