Skip to content
Snippets Groups Projects
Commit 53c274ca authored by Klas Arvidsson's avatar Klas Arvidsson
Browse files

help scripts to avoid mistakes

parent fbefa3b4
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
git_cmds=("checkout production" "merge devel" "push" "checkout devel")
for cmd in "${git_cmds[@]}"
do
if ! git $cmd
then
exit $?
fi
done
#!/bin/bash
exec sudo /opt/puppetlabs/bin/puppet $*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment