Commit d10e8765 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Merge branch 'source-ftw' into 'master'

Use source for sourcing instead of .

See merge request !152
parents 7c277938 cdcd7961
Pipeline #3548 passed with stages
in 36 minutes and 42 seconds
......@@ -162,7 +162,7 @@ function main() {
setup_disk
bootstrap
# shellcheck source=images/base.sh
. "${ORIG_PWD}/images/base.sh"
source "${ORIG_PWD}/images/base.sh"
pre
unmount_image
......@@ -176,10 +176,10 @@ function main() {
fi
# shellcheck source=images/common.sh
. "${ORIG_PWD}/images/common.sh"
source "${ORIG_PWD}/images/common.sh"
for image in "${ORIG_PWD}/images/"!(base|common).sh; do
# shellcheck source=/dev/null
. "${image}"
source "${image}"
create_image "${IMAGE_NAME}" pre post
done
}
......
......@@ -61,7 +61,7 @@ EOF
# enabling important services
arch-chroot "${MOUNT}" /bin/bash -e <<EOF
. /etc/profile
source /etc/profile
systemctl enable sshd
systemctl enable haveged
systemctl enable systemd-networkd
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment