File: path-to-gpl3.patch

package info (click to toggle)
gitso 0.6.2%2Bsvn158%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,820 kB
  • ctags: 143
  • sloc: python: 806; sh: 279; makefile: 15
file content (15 lines) | stat: -rw-r--r-- 654 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: display GPL-3 from common-licenses on copyright tab
Author: Florian Schlichting <fsfs@debian.org>
Forwarded: not-needed

--- a/ArgsParser.py
+++ b/ArgsParser.py
@@ -46,7 +46,7 @@
 		
 		if re.match('(?:open|free|net)bsd|linux',sys.platform):
 			self.paths['main'] = os.path.join(sys.path[0], '..', 'share', 'gitso')
-			self.paths['copyright'] = os.path.join(sys.path[0], '..', 'share', 'doc', 'gitso', 'COPYING')
+			self.paths['copyright'] = os.path.join('/usr', 'share', 'common-licenses', 'GPL-3')
 		elif sys.platform == "darwin":
 			self.paths['main'] = sys.path[0]
 			self.paths['copyright'] = os.path.join(sys.path[0], 'COPYING')