Ticket #513 (closed patch: fixed)

Opened 6 years ago

Last modified 6 years ago

Improving portability of shell script used during build

Reported by: heidnes Owned by:
Priority: normal Milestone: 1.1
Component: none Version: 1.0.0
Severity: medium Keywords:
Cc: he@… Language:
Patch status: Platform: netbsd

Description

Hi,

it turns out that one of the shell scripts one might happen to use during the build, tools/dev/mk_native_pbc, uses a non-portable GNUism, in that it uses the C-like == in place of the standardized = operator to the test program.

The attached patch undoes this, improving portability. This was needed to get parrot 1.0.0 going on NetBSD/i386 4.0.

Attachments

patch-ac Download (3.2 KB) - added by heidnes 6 years ago.
Patch undoing the use of == with test, use the standardized = instead

Change History

Changed 6 years ago by heidnes

Patch undoing the use of == with test, use the standardized = instead

Changed 6 years ago by allison

  • status changed from new to closed
  • resolution set to fixed

Applied in r37756.

This particular script is only used in internal development, and shouldn't be installed or used during the build. But, we aim for high portability in all our tools. Thanks for the fix!

Note: See TracTickets for help on using tickets.