Kaydet (Commit) b5730a58 authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

"#!/usr/bin/python" -> "#!/usr/bin/env python3"

üst fba5503f
......@@ -53,7 +53,7 @@ def doit(root, listdir, clean, suffix = ""):
usage("Permission denied: %s" % e)
def cleanPisis(clean, root = '/var/cache/inary/packages'):
def cleanInarys(clean, root = '/var/cache/inary/packages'):
# inary packages
list = [os.path.basename(x).split(".inary")[0] for x in glob.glob("%s/*.inary" % root)]
list.sort()
......@@ -99,5 +99,5 @@ if __name__ == "__main__":
cleanBuilds(clean)
else:
cleanPisis(clean)
cleanInarys(clean)
#!/usr/bin/python
#!/usr/bin/env python3
import sys
import os
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
#!/usr/bin/python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (C) 2006, TUBITAK/UEKAE
......
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
#!/usr/bin/python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
......
......@@ -78,7 +78,7 @@ temp_pspec = '''<?xml version="1.0" ?>
</INARY>
'''
temp_actions = '''#!/usr/bin/python
temp_actions = '''#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright %(year)s TUBITAK/UEKAE
......@@ -152,7 +152,7 @@ def status():
'''
temp_postscript = '''#/usr/bin/python
temp_postscript = '''#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
......
File mode changed from 100644 to 100755
#! /usr/bin/python
#!/usr/bin/env python3
# a script to preare INARY source tarball from svn
# author: exa
......
......@@ -52,7 +52,7 @@ def main():
package.extract_install(os.path.join(target, 'install'))
# FIXME: There is a Pisi bug, it already creates an install directory even its empty.
# FIXME: There is a Inary bug, it already creates an install directory even its empty.
if os.listdir('install') == []:
os.rmdir('install')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment