[DRE-commits] [ruby-gherkin] 11/16: refresh fix_path_ragel_task

Cédric Boutillier boutil at alioth.debian.org
Tue Aug 13 13:16:50 UTC 2013


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-gherkin.

commit 93a5be5f9b460b174983fcb10f3752b97a0d0505
Author: Cédric Boutillier <boutil at debian.org>
Date:   Tue Aug 13 11:02:20 2013 +0200

    refresh fix_path_ragel_task
---
 debian/patches/fix_path_ragel_task.patch |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/patches/fix_path_ragel_task.patch b/debian/patches/fix_path_ragel_task.patch
index 9e04785..ca8c9cd 100644
--- a/debian/patches/fix_path_ragel_task.patch
+++ b/debian/patches/fix_path_ragel_task.patch
@@ -8,9 +8,9 @@ Last-Update: 2013-08-12
 
 --- a/tasks/ragel_task.rb
 +++ b/tasks/ragel_task.rb
-@@ -29,7 +29,7 @@
-       mkdir_p(File.dirname(target)) unless File.directory?(File.dirname(target))
-       sh "ragel #{flags} #{lang_ragel} -o #{target}"
+@@ -30,7 +30,7 @@
+       ragel = @lang == 'js' ? 'js/ragel-osx' : 'ragel'
+       sh "#{ragel} #{flags} #{lang_ragel} -o #{target}"
        # Remove absolute paths from ragel-generated sources
 -      sh %{#{sed} "s|#{Dir.pwd}/tasks/../||" #{target}}
 +      sh %{#{sed} "s|#{File.dirname __FILE__}/../||" #{target}}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-gherkin.git



More information about the Pkg-ruby-extras-commits mailing list