Skip to content

Commit

Permalink
Do not add script twice in py2rpm
Browse files Browse the repository at this point in the history
Change-Id: I846fd987d15cad3d1d11cef7866f09834aebb404
  • Loading branch information
Alessio Ababilov authored and harlowja committed Jan 4, 2014
1 parent 72f0f88 commit b89d74e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py2rpm
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,7 @@ def build_rpm(options, filename):
if os.path.isfile(script_filename):
with open(script_filename) as f_in:
print >> spec_file, f_in.read()
continue
print >> spec_file, DEFAULT_SCRIPTS[script]
print >> spec_file, """
Expand Down

0 comments on commit b89d74e

Please sign in to comment.