Fix: sourced files w/o arg bashisms 82/102082/1
authorguillaume.lambert <guillaume.lambert@orange.com>
Tue, 16 Aug 2022 09:16:51 +0000 (11:16 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Tue, 16 Aug 2022 09:41:05 +0000 (11:41 +0200)
commit995edd3864f792c93980549fdd6e402d36d88fd5
treea2728bfce27d195f378fdae3873b3c324079bba3
parent6cfdded5c3df2d391cdafc78f93cd8fad176308c
Fix: sourced files w/o arg bashisms

The "source" command is only supported by a limited number of shells.
It is normally equivalent to the POSIX "." (pronounced "dot") command.
Contrary to sourced files, dotted files in bash does not allow any
extra argument since it is normally not supported in POSIX.
If no argument is specified, "source" and "." are strictly equivalent.
And sourced files can be straightforward migrated to the dot syntax.

Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: Id902674c3eef31ce9633c2fc4fc2678da428f832
21 files changed:
jenkins-init-scripts/local-init.sh
jjb/autorelease/autorelease-macros.yaml
jjb/autorelease/branch-cut.sh
jjb/autorelease/generate-release-notes.sh
jjb/autorelease/version-bump.sh
jjb/docs/docs_version_bump.sh
jjb/docs/docs_version_bump_projects.sh
jjb/integration/common-functions.sh
jjb/integration/integration-apex-run-tests.sh
jjb/integration/integration-configure-clustering.sh
jjb/integration/integration-deploy-controller-run-test.sh
jjb/integration/integration-deploy-openstack-run-test.sh
jjb/integration/integration-run-test.sh
jjb/integration/integration-start-cluster-run-test.sh
jjb/netvirt/quagga-build.sh
jjb/packaging/helm-repo-init.sh
jjb/packaging/helm.yaml
jjb/packaging/openstack-k8s-cluster-delete.sh
jjb/packaging/openstack-k8s-config-export.sh
jjb/packaging/openstack-k8s-create-with-template.sh
jjb/packaging/openstack-k8s-deploy-helm.sh