Error in chmod if file name contains single quot
------------------------------------------------
Key: MASSEMBLY-407
URL: http://jira.codehaus.org/browse/MASSEMBLY-407
Project: Maven 2.x Assembly Plugin
Issue Type: Bug
Affects Versions: 2.2-beta-3, 2.2-beta-2
Environment: Apache Maven 2.1.0 (r755702; 2009-03-18 14:10:27-0500)
Java version: 1.5.0_06
Default locale: en_US, platform encoding: UTF-8
OS name: "linux" version: "2.6.15-26-server" arch: "i386" Family: "unix"
Reporter: Shihab Uddin
Attachments: assembly-test.tar.gz
If a file name contains single quot, following error is produced:
{code:none}
[WARNING] -------------------------------
[WARNING] Standard error:
[WARNING] -------------------------------
[WARNING]
[WARNING] -------------------------------
[WARNING] Standard output:
[WARNING] -------------------------------
[WARNING] /bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
[WARNING] -------------------------------
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating assembly: Error creating assembly archive dist: chmod
exit code was: 2
{code}
See attached sample project. Just run "mvn package".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira