projects
/
skytools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
178a0ce
)
setup_skytools: if -q is given, be quiet
author
Marko Kreen
<markokr@gmail.com>
Thu, 18 Oct 2012 10:41:34 +0000
(13:41 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Thu, 18 Oct 2012 12:42:28 +0000
(15:42 +0300)
setup_skytools.py
patch
|
blob
|
blame
|
history
diff --git
a/setup_skytools.py
b/setup_skytools.py
index 5440068d0f36ee986646b0315a156289b487bac8..58576fe886d098e5c33e0e079a5f2366058704e5 100755
(executable)
--- a/
setup_skytools.py
+++ b/
setup_skytools.py
@@
-122,7
+122,8
@@
def fixscript(fn, dstdir, sfx):
return
dfn = os.path.join(dstdir, fn)
dfn2 = os.path.join(dstdir, fn2)
- print("Renaming %s -> %s" % (dfn, fn2))
+ if '-q' not in sys.argv:
+ print("Renaming %s -> %s" % (dfn, fn2))
if sys.platform == 'win32' and os.path.isfile(dfn2):
os.remove(dfn2)
os.rename(dfn, dfn2)