[openssh-commits] [openssh] 01/01: Use /usr/bin/xp4g/id if necessary.

git+noreply at mindrot.org git+noreply at mindrot.org
Sun Apr 5 08:45:08 AEST 2020


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit a398251a4627367c78bc483c70c2ec973223f82c
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Sun Apr 5 08:43:57 2020 +1000

    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.
---
 regress/percent.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/regress/percent.sh b/regress/percent.sh
index a09f1612..566700ea 100644
--- a/regress/percent.sh
+++ b/regress/percent.sh
@@ -3,6 +3,11 @@
 
 tid="percent expansions"
 
+if [ -x "/usr/xpg4/bin/id" ]; then
+	PATH=/usr/xpg4/bin:$PATH
+	export PATH
+fi
+
 USER=`id -u -n`
 USERID=`id -u`
 HOST=`hostname | cut -f1 -d.`

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list