--lib: Folder structure is not preserved if it is intended to import sub-directories in REVEAL_PATH/lib
cszach opened this issue · 0 comments
cszach commented
Description
Currently, the handle for $libfile
when it's a directory is incorrectly implemented. The case in which $libfile
is a folder to import is neglected.
Steps to reproduce
This is just one example.
If we run:
reveal-init --lib font/ font/league-gothic - my_slides
then ls my_slides/lib/
gives:
font league-gothic
It is clear that we want the league-gothic
directory to be inside the font
directory, but in this case it is not.
Environment
- Program version: reveal-init 3.0 RC (release candidate), however the bug has existed probably since 131debd.
- Shell interpreter: Bash