Skip to content

Commit

Permalink
Merge branch 'master' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
mbusb committed Apr 4, 2018
2 parents 89bfaae + 39ae717 commit 2e1896a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_pkg
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class pkg():

with open("stdeb.cfg", "w") as f:
f.write(stdcfg)
if subprocess.call('/usr/bin/python3 setup.py --command-packages=stdeb.command bdist_deb', shell=True) == 0 and \
if subprocess.call('/usr/bin/python3.5 setup.py --command-packages=stdeb.command bdist_deb', shell=True) == 0 and \
os.path.exists(os.path.join("deb_dist", "python3-multibootusb_" + self.version + "-1_all.deb")):
try:
shutil.copy2(os.path.join("deb_dist", "python3-multibootusb_" + self.version + "-1_all.deb"),
Expand Down Expand Up @@ -159,7 +159,7 @@ class pkg():
"Requires = " + require)
with open("setup.cfg", "w") as f:
f.write(setup_cfg)
if subprocess.call('/usr/bin/python3 setup.py bdist_rpm', shell=True) == 0 and \
if subprocess.call('/usr/bin/python3.5 setup.py bdist_rpm', shell=True) == 0 and \
os.path.exists(os.path.join("dist", "multibootusb-" + self.version + "-1.noarch.rpm")):
if self.pkg_name == 'suse':
package = "multibootusb-" + self.version + "-1suse.noarch.rpm"
Expand Down

0 comments on commit 2e1896a

Please sign in to comment.