Skip to content

Commit

Permalink
Fixed bug in file renaming. version++
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul S. Ferrell committed Mar 13, 2013
1 parent aed926f commit a568a90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/dns_parse_cron
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ for network in options['NETWORKS'].split():
"Cmd: %s" % (path, cmd))

if (options['MOVE_DIR']):
new_path = os.path.join(options['MOVE_DIR'], files[i])
new_path = os.path.join(options['MOVE_DIR'],
files[i].split('/')[-1])
try:
os.rename(path, new_path)
except Exception, msg:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/dns_parse.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Name: dns_parse
Version: 2.0.2
Version: 2.0.4
Release: 4%{?dist}
Summary: Converts pcap files of DNS data into something more manageable.
Source: dns_parse-%{version}.tar.gz
Expand Down

0 comments on commit a568a90

Please sign in to comment.