diff --git a/lib/slideshow/cli/commands/gen.rb b/lib/slideshow/cli/commands/gen.rb
index <HASH>..<HASH> 100644
--- a/lib/slideshow/cli/commands/gen.rb
+++ b/lib/slideshow/cli/commands/gen.rb
@@ -206,7 +206,9 @@ class Gen
         
       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 )
Reference manifestsrc with absolute path

When the source directory is different from current directory,
manifestsrc becomes not-found