[ 
https://issues.apache.org/jira/browse/CASSANDRA-21688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18115922#comment-18115922
 ] 

Michael Semb Wever commented on CASSANDRA-21688:
------------------------------------------------

ref CASSANDRA-21689

> Fix update-netbeans-classpaths.sh script failing on Linux due to macOS sed 
> syntax (5.0, 4.1, 4.0)
> -------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-21688
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21688
>             Project: Apache Cassandra
>          Issue Type: Bug
>            Reporter: Arvind Kandpal
>            Assignee: Arvind Kandpal
>            Priority: Normal
>             Fix For: 4.0.x, 4.1.x, 5.0.x
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The ide/nbproject/update-netbeans-classpaths.sh script completely fails on 
> Linux/Ubuntu environments. It currently uses the sed -i '' command, which is 
> specific to macOS (BSD). On Linux (GNU sed), this syntax throws an error and 
> breaks the script.
> *Affected Branches:* cassandra-5.0, cassandra-4.1, cassandra-4.0
> *Proposed Fix:* Replace the macOS-only sed -i '' syntax with a cross-platform 
> temp-file approach (sed ... > tmp && mv tmp original). This issue is already 
> resolved in trunk, so we can simply update this script in the older branches 
> to match the logic used in trunk



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to