Merge pull request #229 from yggdr/master

/usr/bin/env for portability.
This commit is contained in:
hemanth.hm 2014-07-06 11:55:00 +05:30
commit a87403b57f
5 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# extract current branch name
BRANCH=$(git name-rev HEAD 2> /dev/null | awk "{ print \$2 }")
@ -31,4 +31,4 @@ OUTPUT=$(pwd)/$FILENAME
git archive --format zip --output $OUTPUT $BRANCH
# also display size of the resulting file
echo Saved to \"$FILENAME\" \(`du -h $OUTPUT | cut -f1`\)
echo Saved to \"$FILENAME\" \(`du -h $OUTPUT | cut -f1`\)

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
tmp=/tmp/.git-effort
above='0'

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function show_contents {
test -f "$2" && echo "$1 gitignore: $2" && cat "$2"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
project=${PWD##*/}

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
while true; do
# Current branch