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

_run_scripts.sh could be simplified #13

Open
hkirsman opened this issue Mar 5, 2024 · 0 comments
Open

_run_scripts.sh could be simplified #13

hkirsman opened this issue Mar 5, 2024 · 0 comments

Comments

@hkirsman
Copy link
Collaborator

hkirsman commented Mar 5, 2024

@ragnarkurmwunder said the https://github.com/wunderio/ddev-drupal/blob/main/dist/.ddev/wunderio/core/_run-scripts.sh script could be simplified to this (checking based on PATH var):

export PATH=./c:./b:./a

if command -v cmd 1>/dev/null; then
  cmd
else
  echo "no cmd"
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