mirror of
https://github.com/wavetermdev/dev.commandline.waveterm.git
synced 2026-08-05 13:46:53 -07:00
Update code.sh
Co-Authored-By: Filippe LeMarchand <gasinvein@gmail.com>
This commit is contained in:
co-authored by
Filippe LeMarchand
parent
d0f17bd46c
commit
449e76e9c1
@@ -12,7 +12,11 @@ fi
|
||||
IFS=',' read -ra SDK <<< "$FLATPAK_ENABLE_SDK"
|
||||
for i in "${SDK[@]}"; do
|
||||
if [[ -d /usr/lib/sdk/$i ]]; then
|
||||
. /usr/lib/sdk/$i/enable.sh
|
||||
if [[ -f /usr/lib/sdk/$i/enable.sh ]]; then
|
||||
. /usr/lib/sdk/$i/enable.sh
|
||||
else
|
||||
export PATH=$PATH:/usr/lib/sdk/$i/bin
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user