mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-05 08:46:20 +01:00
add permissions to SlackBuild
This commit is contained in:
parent
a146b44a08
commit
beaf7a8270
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ def build_package(script, sources, path):
|
|||
for src in sources:
|
||||
shutil.copy2(src, pkg_name)
|
||||
os.chdir(path + pkg_name)
|
||||
subprocess.call("chmod +x {0}.SlackBuild".format(pkg_name), shell=True)
|
||||
subprocess.call("./{0}.SlackBuild".format(pkg_name), shell=True)
|
||||
os.chdir(path)
|
||||
except (OSError, IOError):
|
||||
|
|
Loading…
Add table
Reference in a new issue