bash -> source

This commit is contained in:
Nikita Mikhaylov 2023-09-28 00:48:17 +02:00 committed by GitHub
parent 0f2d7233d9
commit 5753c3e72f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,8 @@ then
# Execute all commands
for file in /build/packages/pre-build/*.sh ;
do
bash "$file"
# The script may want to modify environment variables. Why not to allow it to do so?
source "$file"
done
else
echo "There are no subcommands to execute :)"