summaryrefslogtreecommitdiffhomepage
path: root/once/etc
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-01-18 16:54:20 -0500
committermidipix <writeonce@midipix.org>2019-01-18 16:54:20 -0500
commit45b688e8cad089784b00b7aaf76f2a37d005e6e6 (patch)
tree7fa054e32eb764be3a965ceaabfb2c90fa489e46 /once/etc
parenta1c63297c09570f85031fad2f98407e4ecb375ab (diff)
downloadmpackage-45b688e8cad089784b00b7aaf76f2a37d005e6e6.tar.bz2
mpackage-45b688e8cad089784b00b7aaf76f2a37d005e6e6.tar.xz
once: /etc/init.sh: invoke whoami(1) using its absolute path.
Diffstat (limited to 'once/etc')
-rwxr-xr-xonce/etc/init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/once/etc/init.sh b/once/etc/init.sh
index ab9b8d7..1702c8f 100755
--- a/once/etc/init.sh
+++ b/once/etc/init.sh
@@ -2,7 +2,7 @@
cd /
-export HOME=/home/$(whoami)
+export HOME=/home/$(/bin/whoami)
export PATH=$HOME/.local/bin:/local/sbin:/local/bin:/sbin:/bin
if [ "$TERM" = xterm ]; then