Skip to content

Commit

Permalink
compile on an older Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles Samuels committed Mar 19, 2014
1 parent 1e95641 commit 55dfe12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dpkgfiles/make_deb_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def pwd():
execAndWait('rm -f %s*' % pkgdir)
execAndWait('rm -f %s*' % pkgdir_)
shutil.copytree(origDir, pkgdir)
execAndWait('tar --exclude .git -zcf %s.tar.gz %s' % (pkgdir, pkgdir))
execAndWait('tar -zcf %s.tar.gz %s' % (pkgdir, pkgdir))
cd(pkgdir)
execAndWait('export DEBFULLNAME="Armory Technologies, Inc."; dh_make -s -e support@bitcoinarmory.com -f ../%s.tar.gz' % pkgdir)
for f in dpkgfiles:
Expand Down
2 changes: 1 addition & 1 deletion dpkgfiles/rules
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
dh $@

override_dh_auto_build:
$(shell dpkg-buildflags --export=sh) ; make PYVER=python2.6
make PYVER=python2.6

2 changes: 1 addition & 1 deletion subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -1291,7 +1291,7 @@ def _dup2(a, b):

# Close pipe fds. Make sure we don't close the
# same fd more than once, or standard fds.
closed = { None }
closed = set(None)
for fd in [p2cread, c2pwrite, errwrite]:
if fd not in closed and fd > 2:
os.close(fd)
Expand Down

0 comments on commit 55dfe12

Please sign in to comment.