File: fix-template-path.patch

package info (click to toggle)
ruby-hoe 3.12.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 380 kB
  • ctags: 222
  • sloc: ruby: 1,929; makefile: 10
file content (15 lines) | stat: -rw-r--r-- 610 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Clint Byrum <clint@ubuntu.com>
Subject: Move template directory to /usr/share per FHS/Debian Policy
Last-Update: 2014-01-16

--- a/bin/sow
+++ b/bin/sow
@@ -62,7 +62,7 @@
 # variables for erb:
 template_dir  = File.expand_path("~/.hoe_template")
 template_path = File.join template_dir, option[:style]
-source_path   = File.join(File.dirname(File.dirname(__FILE__)), "template")
+source_path   = File.join(File.dirname(File.dirname(__FILE__)), "share","ruby-hoe","template")
 default_dir   = File.join template_dir, "default"
 
 if File.directory? template_dir and not File.directory? default_dir then