Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #12 from tomykaira/fix_manifestsrc

Reference manifestsrc with absolute path
  • Loading branch information...
commit 27800774d33b02270f39818f15b0dea048aa6190 2 parents f729990 + 7b5e474
Gerald Bauer authored October 05, 2012

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. 4  lib/slideshow/cli/commands/gen.rb
4  lib/slideshow/cli/commands/gen.rb
@@ -206,7 +206,9 @@ def create_slideshow( fn )
206 206
         
207 207
       manifestsrc = matches[0][1]
208 208
     end
209  
-  
  209
+
  210
+    # Reference src with absolute path, because this can be used with different pwd
  211
+    manifestsrc = File.expand_path(manifestsrc)
210 212
 
211 213
     # expand output path in current dir and make sure output path exists
212 214
     outpath = File.expand_path( opts.output_path ) 

0 notes on commit 2780077

Please sign in to comment.
Something went wrong with that request. Please try again.