This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
sh script on solaris .../netbeans/platform/lib/nbexec has problem since netbeans-20100414-1408 build if [ ! -z $DESKTOP_STARTUP_ID ] ; then is causing runtime error : /set/dbx/src/trunk/gdb-pia/import/ide/netbeans-20100414-1408/netbeans/platform/lib/nbexec: test: argument expected Here is the fix if [ ! -z "$DESKTOP_STARTUP_ID" ] ; then
Please evaluate.
Regression from http://netbeans.org/bugzilla/show_bug.cgi?id=76970 fix. The question: is it a Beta stopper ? Will depend on test results from Michael.
This is not stopper for sure. 1. Affected Solaris SPARC plarform only. 2. Affected only nbexec while normal executable file bin/netbeans works fine. 3. There is simple workaround like "export DESKTOP_STARTUP_ID=something". According to my check affected trunk builds starting Apr 06.
And the fix is to use quotes: 484 if [ ! -z "$DESKTOP_STARTUP_ID" ] ; then
Yes this is fix. But why other platforms not affected?
semantics of built-in test command is old on Sparc?
Fixed in the main trunk http://hg.netbeans.org/main/rev/c594f6b28aa3