Bug 894 - improve portability of some shell constructs
Summary: improve portability of some shell constructs
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: -current
Hardware: Other Linux
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL: http://bugs.debian.org/258517
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-10 22:45 AEST by Colin Watson
Modified: 2004-09-11 13:18 AEST (History)
0 users

See Also:


Attachments
use && rather than test -a (1.40 KB, patch)
2004-07-10 22:46 AEST, Colin Watson
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Colin Watson 2004-07-10 22:45:49 AEST
David Weinehall reported in Debian bug #258517 that OpenSSH uses the XSI
extension 'test -a', and some /bin/sh implementations (mostly of the kind
designed for use in small systems) don't like this. The fixes are easy and in
line with other shell code in OpenSSH; I'll attach the patch in a moment.
Comment 1 Colin Watson 2004-07-10 22:46:31 AEST
Created attachment 682 [details]
use && rather than test -a
Comment 2 Darren Tucker 2004-08-30 21:33:21 AEST
Applied, thanks.