Chromium Code Reviews

Side by Side Diff: git-templates/hooks/pre-auto-gc

Issue 19278004: Use plain sh instead of bash in the git template hooks. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
1 #!/bin/bash 1 #!/bin/sh
2 2
3 [ -e "build/git-hooks/pre-auto-gc" ] && exec bash "build/git-hooks/pre-auto-gc" "$@" 3 [ -e "build/git-hooks/pre-auto-gc" ] && exec sh "build/git-hooks/pre-auto-gc" "$ @"
4 exit 0 4 exit 0
OLDNEW

Powered by Google App Engine