/[adm]/puppet/modules/buildsystem/templates/binrepo/upload-bin
ViewVC logotype

Diff of /puppet/modules/buildsystem/templates/binrepo/upload-bin

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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

Legend:
Removed from v.2796  
changed lines
  Added in v.2797

  ViewVC Help
Powered by ViewVC 1.1.30