Skip to content

Commit 73cc606

Browse files
committed
Better portability
Use env(1) to locate shell binary (see http://en.wikipedia.org/wiki/Shebang_%28Unix%29#Portability).
1 parent f298e2e commit 73cc606

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gittydown.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
2+
23
git pull origin
34
if [ "${1}" = "-modules" ]; then
45
git submodule status

0 commit comments

Comments
 (0)