You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Amar Kamat (Commented) (JIRA)" <ji...@apache.org> on 2011/10/05 07:32:35 UTC
[jira] [Commented] (MAPREDUCE-3142) smart-apply-patch.sh fails with
errors
[ https://issues.apache.org/jira/browse/MAPREDUCE-3142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13120686#comment-13120686 ]
Amar Kamat commented on MAPREDUCE-3142:
---------------------------------------
I tried quoting the expression at line#84 and it worked.
That is
{noformat}
elif [[ "$PREFIX_DIRS_AND_FILES" =~ ^(hadoop-common-project|hadoop-hdfs-project|hadoop-mapreduce-project)$ ]]; then
{noformat}
changed to
{noformat}
elif [[ "$PREFIX_DIRS_AND_FILES" =~ "^(hadoop-common-project|hadoop-hdfs-project|hadoop-mapreduce-project)$" ]]; then
{noformat}
> smart-apply-patch.sh fails with errors
> --------------------------------------
>
> Key: MAPREDUCE-3142
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-3142
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: test
> Affects Versions: 0.24.0
> Reporter: Amar Kamat
> Labels: patch, test-patch
> Fix For: 0.24.0
>
>
> smart-apply-patch.sh fails with the following error
> {noformat}
> ./dev-support/smart-apply-patch.sh: line 84: syntax error in conditional expression: unexpected token `('
> PATCH APPLICATION FAILED
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira