mirror of
https://github.com/powerline/powerline.git
synced 2025-07-28 16:24:57 +02:00
Make sure USER and HOME variables are defined
This commit is contained in:
parent
be3fd917a9
commit
e7c381a63f
@ -1,6 +1,11 @@
|
||||
#!/bin/bash
|
||||
. tests/bot-ci/scripts/common/main.sh
|
||||
|
||||
: ${USER:=`id -un`}
|
||||
: ${HOME:=`getent passwd $USER | cut -d: -f6`}
|
||||
|
||||
export USER HOME
|
||||
|
||||
FAILED=0
|
||||
|
||||
export PATH="/opt/fish/bin:${PATH}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user