[issue1654] Shell script portability, 'export' statements

Lasse Kliemann mercurial-bugs at selenic.com
Mon May 11 12:44:58 CDT 2009


New submission from Lasse Kliemann <lasse-mercurial-issue-tracker-2009 at mail.plastictree.net>:

The following sh scripts are in fact ksh or bash scripts, since they use 'export
FOO=bar'. It goes unnoticed until one runs the test suite on a system where
/bin/sh is a "real" sh, e.g., Solaris. The fix is easy, replace by:

FOO=bar
export FOO

Files:
tests/test-convert-cvs-branch
tests/test-convert-cvs-builtincvsps
tests/test-convert-cvs-synthetic

----------
messages: 9301
nosy: lasse
priority: bug
status: unread
title: Shell script portability, 'export' statements
topic: 1.2.1

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1654>
____________________________________________________



More information about the Mercurial-devel mailing list