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

Check for dependencies on start #22

Merged
merged 3 commits into from
Feb 19, 2020
Merged

Check for dependencies on start #22

merged 3 commits into from
Feb 19, 2020

Conversation

joshuaboniface
Copy link
Member

Ensures all the dependencies exists before kicking off a build.

build Outdated Show resolved Hide resolved
build Outdated Show resolved Hide resolved
@joshuaboniface joshuaboniface merged commit 8ba8dec into jellyfin Feb 19, 2020
@dkanada dkanada deleted the mmv-time branch February 19, 2020 16:21
@@ -83,7 +83,7 @@ set -o errexit

# Check for dependencies
for dep in docker make mmv; do
which ${dep} || { echo "The command '${dep}' is required."; exit 1; }
command -v ${dep} &>/dev/null || { echo "The command '${dep}' is required."; exit 1; }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be command -v "${dep}" in case dep contains a space. I know it most likely wouldn't, so it's a nitpicking... but still %)

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

Successfully merging this pull request may close these issues.

None yet

4 participants