Permalink
Browse files

Merge pull request #12 from tomykaira/fix_manifestsrc

Reference manifestsrc with absolute path
  • Loading branch information...
2 parents f729990 + 7b5e474 commit 27800774d33b02270f39818f15b0dea048aa6190 @geraldb geraldb committed Oct 5, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/slideshow/cli/commands/gen.rb
@@ -206,7 +206,9 @@ def create_slideshow( fn )
manifestsrc = matches[0][1]
end
-
+
+ # Reference src with absolute path, because this can be used with different pwd
+ manifestsrc = File.expand_path(manifestsrc)
# expand output path in current dir and make sure output path exists
outpath = File.expand_path( opts.output_path )

0 comments on commit 2780077

Please sign in to comment.