mirror of
https://github.com/Egor00f/kolibrios-gcc-toolchain.git
synced 2024-11-21 17:03:48 +01:00
fix of fix
This commit is contained in:
parent
eb61d5f483
commit
9262ee0fa4
@ -129,13 +129,6 @@ if ! grep -q 'export PATH=$PATH:/home/autobuild/tools/win32/bin' ~/.bashrc; then
|
|||||||
echo 'export PATH=$PATH:/home/autobuild/tools/win32/bin' >> ~/.bashrc
|
echo 'export PATH=$PATH:/home/autobuild/tools/win32/bin' >> ~/.bashrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ("$EUID" -ne 0) -o (! -f /etc/profile.d/KolibriOS-Toolchain.sh) ]
|
|
||||||
then
|
|
||||||
echo '$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile.d/KolibriOS-Toolchain.sh
|
|
||||||
else
|
|
||||||
print_err "You must be logined as root!"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ["$EUID" -ne 0 ] && [ ! -f /etc/profile.d/KolibriOS-Toolchain.sh ]
|
if ["$EUID" -ne 0 ] && [ ! -f /etc/profile.d/KolibriOS-Toolchain.sh ]
|
||||||
then
|
then
|
||||||
echo '$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile.d/KolibriOS-Toolchain.sh
|
echo '$PATH:/home/autobuild/tools/win32/bin' >> /etc/profile.d/KolibriOS-Toolchain.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user