]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
Fix option in comment. Don't use stderr.
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 23 Dec 2019 07:58:35 +0000 (08:58 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 23 Dec 2019 07:58:35 +0000 (08:58 +0100)
check-shebang.py

index fe04522e6beb257258c4a1a7aae4074ef4f17e21..4408e3f6e4a46290aef2a94d958851dfb3858aeb 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/python3
 
-# thisscript.py --root=~/tmp/somepackage ~/rpm/BUILD/somepackage/
+# thisscript.py --buildroot=~/tmp/somepackage ~/rpm/BUILD/somepackage/
 
 import argparse
 import io
@@ -66,7 +66,7 @@ def gf(files):
         print("\t%s \\\n" % os.path.relpath(newfiles[i], start=args.sourcedir), end='')
     print("\t%s\n" % os.path.relpath(newfiles[len(newfiles) - 1], start=args.sourcedir))
 
-print("\n# Copy from here:", file=sys.stderr)
+print("\n# Copy from here:")
 print("# %s " % sys.argv[0], end='')
 if args.buildroot:
     print("--root=%s " % args.buildroot, end='')
This page took 0.08597 seconds and 4 git commands to generate.