mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-27 15:54:22 +02:00
Use /usr/bin/xp4g/id if necessary.
Solaris' native "id" doesn't support the options we use but the one in /usr/bin/xp4g does, so use that instead.
This commit is contained in:
parent
db0fdd4833
commit
a398251a46
@ -3,6 +3,11 @@
|
|||||||
|
|
||||||
tid="percent expansions"
|
tid="percent expansions"
|
||||||
|
|
||||||
|
if [ -x "/usr/xpg4/bin/id" ]; then
|
||||||
|
PATH=/usr/xpg4/bin:$PATH
|
||||||
|
export PATH
|
||||||
|
fi
|
||||||
|
|
||||||
USER=`id -u -n`
|
USER=`id -u -n`
|
||||||
USERID=`id -u`
|
USERID=`id -u`
|
||||||
HOST=`hostname | cut -f1 -d.`
|
HOST=`hostname | cut -f1 -d.`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user