views:

3

answers:

0

I'm packaging up some javascript using epm(1) on freebsd, and some of the doc files have ! characters, which causes packaging to fail:

pkg_create -z -p / -s /tmp/release-xXkrY9/checkout -c pkg/advanis_9166_saas_advanisweb+www.comment -d pkg/advanis_9166_saas_advanisweb+www.descr -f pkg/advanis_9166_saas_advanisweb+www.plist advanis_9166_saas_advanisweb+www-SNAPSHOT
tar: usr/local/www/data/www/static/js/jquery/jsTree.v.1.0rc2/_docs/\!style.css: Cannot stat: No such file or directory
tar: usr/local/www/data/www/static/js/jquery/jsTree.v.1.0rc2/_docs/syntax/\!script.js: Cannot stat: No such file or directory
tar: usr/local/www/data/www/static/js/jquery/jsTree.v.1.0rc2/_docs/syntax/\!style.css: Cannot stat: No such file or directory

I created this .list file using mkepmlist(1) which I would assume would generate legal .list input, but in this case didn't, apparently.

The relevant sections of the .list file look like this:

f 644 crose wheel /usr/local/www/data/www/static/js/jquery/jsTree.v.1.0rc2/_docs/\!style.css saas_static/js/jquery/jsTree.v.1.0rc2/_docs/\!style.css
f 644 crose wheel /usr/local/www/data/www/static/js/jquery/jsTree.v.1.0rc2/_docs/syntax/\!script.js saas_static/js/jquery/jsTree.v.1.0rc2/_docs/syntax/\!script.js
f 644 crose wheel /usr/local/www/data/www/static/js/jquery/jsTree.v.1.0rc2/_docs/syntax/\!style.css saas_static/js/jquery/jsTree.v.1.0rc2/_docs/syntax/\!style.css

I've also tried it with quotes around the file paths, but the same error occurs.