Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test for presence of preflight and setup scripts #245

Open
kcranston opened this issue Jun 26, 2023 · 0 comments
Open

Test for presence of preflight and setup scripts #245

kcranston opened this issue Jun 26, 2023 · 0 comments

Comments

@kcranston
Copy link
Member

@OrdiNeu make the following (good) suggestion: We could just test for the existence of the _preflight/_setup files during make compose-% before sourcing them, which would silence the file-not-found error message during compose like so:

	-if [ -f 'lib/$*/$*_preflight.sh' ]; then \
		source lib/$*/$*_preflight.sh 2>&1 | tee -a $(ERRORLOG); \
	fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant