Master in licard-dev #10

Merged
bogdan.terehov merged 323 commits from merge_master_in_licard_dev into licard-dev 2023-09-04 19:22:24 +03:00
1 changed files with 4 additions and 6 deletions
Showing only changes of commit d7acbb0080 - Show all commits

View File

@ -17,15 +17,13 @@
function source_home_file {
file="$HOME/$1"
#echo $file
if [[ -f "${file}" ]]; then
paathes="$(cat "${file}" | grep "^export PATH=")"
export_commands="$(cat "${file}" | grep "^export PATH=")"
while read paath
while read export_command
do
eval "$paath"
done <<< "$paathes"
eval "$export_command"
done <<< "$export_commands"
else
return 1
fi