diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2022-06-15 14:36:35 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2022-06-15 14:37:52 +0200 |
commit | 32e104524f206f4c02aa95f739995ad084c57201 (patch) | |
tree | f89ad2da5b2865bd490141f7e3438127210841fd /app-emulation/virtualbox | |
parent | app-emulation/virtualbox: Add patch to build with python3_10 (diff) | |
download | gentoo-32e104524f206f4c02aa95f739995ad084c57201.tar.gz gentoo-32e104524f206f4c02aa95f739995ad084c57201.tar.bz2 gentoo-32e104524f206f4c02aa95f739995ad084c57201.zip |
app-emulation/virtualbox: Revbumps to remove uage of whoami
Thanks-to: Johan Hedlin <Busan15@protonmail.com>
Closes: https://bugs.gentoo.org/843776
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-emulation/virtualbox')
-rw-r--r-- | app-emulation/virtualbox/files/virtualbox-ose-6-wrapper | 2 | ||||
-rw-r--r-- | app-emulation/virtualbox/virtualbox-6.1.32-r2.ebuild (renamed from app-emulation/virtualbox/virtualbox-6.1.32-r1.ebuild) | 0 | ||||
-rw-r--r-- | app-emulation/virtualbox/virtualbox-6.1.34-r1.ebuild (renamed from app-emulation/virtualbox/virtualbox-6.1.34.ebuild) | 0 |
3 files changed, 1 insertions, 1 deletions
diff --git a/app-emulation/virtualbox/files/virtualbox-ose-6-wrapper b/app-emulation/virtualbox/files/virtualbox-ose-6-wrapper index af8090dd09af..57b15cc93eba 100644 --- a/app-emulation/virtualbox/files/virtualbox-ose-6-wrapper +++ b/app-emulation/virtualbox/files/virtualbox-ose-6-wrapper @@ -60,7 +60,7 @@ WARNING: The character device /dev/vboxdrv does not exist. EOF fi -SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'` +SERVER_PID=$(ps -U ${LOGNAME:-$USER} | grep VBoxSVC | awk '{ print $1 }') if [ -z "$SERVER_PID" ]; then # Server not running yet/anymore, cleanup socket path. # See IPC_GetDefaultSocketPath()! diff --git a/app-emulation/virtualbox/virtualbox-6.1.32-r1.ebuild b/app-emulation/virtualbox/virtualbox-6.1.32-r2.ebuild index 96494cca02e5..96494cca02e5 100644 --- a/app-emulation/virtualbox/virtualbox-6.1.32-r1.ebuild +++ b/app-emulation/virtualbox/virtualbox-6.1.32-r2.ebuild diff --git a/app-emulation/virtualbox/virtualbox-6.1.34.ebuild b/app-emulation/virtualbox/virtualbox-6.1.34-r1.ebuild index 3857ced6663f..3857ced6663f 100644 --- a/app-emulation/virtualbox/virtualbox-6.1.34.ebuild +++ b/app-emulation/virtualbox/virtualbox-6.1.34-r1.ebuild |