You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Michael Semb Wever (Jira)" <ji...@apache.org> on 2026/09/16 09:13:00 UTC
[jira] [Updated] (CASSANDRA-21688) Fix update-netbeans-classpaths.sh script failing on Linux due to macOS sed syntax (5.0, 4.1, 4.0)
[ https://issues.apache.org/jira/browse/CASSANDRA-21688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Semb Wever updated CASSANDRA-21688:
-------------------------------------------
Fix Version/s: 4.0.x
4.1.x
5.0.x
> 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: 20m
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org