mirror of
https://github.com/powerline/powerline.git
synced 2025-07-29 08:45:15 +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
|
#!/bin/bash
|
||||||
. tests/bot-ci/scripts/common/main.sh
|
. tests/bot-ci/scripts/common/main.sh
|
||||||
|
|
||||||
|
: ${USER:=`id -un`}
|
||||||
|
: ${HOME:=`getent passwd $USER | cut -d: -f6`}
|
||||||
|
|
||||||
|
export USER HOME
|
||||||
|
|
||||||
FAILED=0
|
FAILED=0
|
||||||
|
|
||||||
export PATH="/opt/fish/bin:${PATH}"
|
export PATH="/opt/fish/bin:${PATH}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user