You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.1 KiB
36 lines
1.1 KiB
Index: bin/compass |
|
--- bin/compass.orig 2010-08-27 16:33:47.000000000 +0200 |
|
+++ bin/compass 2010-08-29 19:37:38.000000000 +0200 |
|
@@ -1,4 +1,4 @@ |
|
-#!/usr/bin/env ruby |
|
+#!@l_prefix@/bin/ruby |
|
# The compass command line utility |
|
|
|
# This allows compass to run easily from a git checkout without install. |
|
@@ -16,7 +16,9 @@ |
|
end |
|
end |
|
|
|
-fallback_load_path(File.join(File.dirname(__FILE__), '..', 'lib')) do |
|
+$LOAD_PATH.unshift '@l_prefix@/lib/haml' |
|
+$LOAD_PATH.unshift '@l_prefix@/lib/compass' |
|
+fallback_load_path('@l_prefix@/lib/compass') do |
|
require 'compass' |
|
require 'compass/exec' |
|
end |
|
Index: lib/compass.rb |
|
--- lib/compass.rb.orig 2010-08-27 16:33:47.000000000 +0200 |
|
+++ lib/compass.rb 2010-08-29 19:37:08.000000000 +0200 |
|
@@ -7,10 +7,10 @@ |
|
|
|
module Compass |
|
def base_directory |
|
- File.expand_path(File.join(File.dirname(__FILE__), '..')) |
|
+ File.expand_path('@l_prefix@/share/compass') |
|
end |
|
def lib_directory |
|
- File.expand_path(File.join(File.dirname(__FILE__))) |
|
+ File.expand_path('@l_prefix@/lib/compass') |
|
end |
|
module_function :base_directory, :lib_directory |
|
end
|
|
|