I found the solution. The problem is my usage of the zip include "-i" 
option which removes the directory entries. A working solution is:

zip -r luvit-2.0.5.zip luvit-2.0.5 -i "luvit-2.0.5/" "*/deps/*" "*.lua" -x 
"luvit-2.0.5/tests/*" "luvit-2.0.5/examples/*" "luvit-2.0.5/bench/*"

This gets me a lua-sources-only zip archive and saves me about 60 KB 
compared to the original zip.

-- 
You received this message because you are subscribed to the Google Groups 
"luvit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to