/[adm]/puppet/modules/buildsystem/templates/signbot/sign-check-package
ViewVC logotype

Diff of /puppet/modules/buildsystem/templates/signbot/sign-check-package

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2739 by misc, Sun Jan 8 13:45:13 2012 UTC revision 2740 by boklm, Thu Apr 19 22:42:58 2012 UTC
# Line 10  file="$1" Line 10  file="$1"
10  key="$2"  key="$2"
11  keydir="$3"  keydir="$3"
12    
13  tmpfile=`mktemp`  tmpdir=`mktemp -d signbot-XXXXX`
14    tmpfile="$tmpdir/$(basename $file)"
15  cp -pf "$file" "$tmpfile"  cp -pf "$file" "$tmpfile"
16  rpm --delsign "$tmpfile"  rpm --delsign "$tmpfile"
17  /usr/local/bin/mga-signpackage "$tmpfile" "$key" "$keydir"  /usr/local/bin/mga-signpackage "$tmpfile" "$key" "$keydir"
# Line 33  do Line 34  do
34      /usr/local/bin/mga-signpackage "$tmpfile" "$key" "$keydir"      /usr/local/bin/mga-signpackage "$tmpfile" "$key" "$keydir"
35  done  done
36  mv -f "$tmpfile" "$file"  mv -f "$tmpfile" "$file"
37    rmdir "$tmpdir"

Legend:
Removed from v.2739  
changed lines
  Added in v.2740

  ViewVC Help
Powered by ViewVC 1.1.28