Skip to content
Snippets Groups Projects
Commit 99db31c4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Properly forward quoted arguments in bash scripts

parent 905beecf
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ function setPermissions {
chmod -R g+w .
}
docker-compose exec ${LAKEDROPS_DEV_DC_OPTIONS} php drush $@
docker-compose exec ${LAKEDROPS_DEV_DC_OPTIONS} php drush "$@"
if [[ "$1" == "gen" ]]; then
setPermissions
......
#!/bin/bash
./node_modules/gulp/bin/gulp.js $@
./node_modules/gulp/bin/gulp.js "$@"
#!/bin/bash
NODE_CMD=node node_cmd $@
NODE_CMD=node node_cmd "$@"
......@@ -39,4 +39,4 @@ else
-w ${PWD} \
registry.lakedrops.com/docker/node:${NODE_VERSION} >/dev/null
fi
docker exec -it -w ${PWD} ${NAME} ${NODE_CMD} $@
docker exec -it -w ${PWD} ${NAME} ${NODE_CMD} "$@"
#!/bin/bash
NODE_CMD=npm node_cmd $@
NODE_CMD=npm node_cmd "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment