diff --git a/src/VREF/COUNT b/src/VREF/COUNT index 6b5cacf..f4c3eae 100755 --- a/src/VREF/COUNT +++ b/src/VREF/COUNT @@ -1,5 +1,4 @@ -#!/bin/bash -# TODO: convert to perl! +#!/bin/sh # gitolite VREF to count number of changed/new files in a push @@ -34,7 +33,7 @@ nf= # $oldsha when you update an old feature branch from master and then push it count=`git log --name-only $nf --format=%n $newtree --not --all | grep . | sort -u | perl -ne '}{print "$."'` -[[ $count -gt $max ]] && { +[ $count -gt $max ] && { # count has been exceeded. If $9 was NO_SIGNOFF there's still a chance # for redemption -- if the top commit has a proper signed-off by line [ "$9" = "NO_SIGNOFF" ] && { diff --git a/src/VREF/FILETYPE b/src/VREF/FILETYPE index 2115a5c..3f1d5f9 100755 --- a/src/VREF/FILETYPE +++ b/src/VREF/FILETYPE @@ -1,5 +1,4 @@ -#!/bin/bash -# TODO: convert to perl! +#!/bin/sh # gitolite VREF to find autogenerated files diff --git a/src/VREF/VOTES b/src/VREF/VOTES index bb6bf22..8dc3563 100755 --- a/src/VREF/VOTES +++ b/src/VREF/VOTES @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # gitolite VREF to count votes before allowing pushes to certain branches. diff --git a/src/triggers/post-compile/update-description-file b/src/triggers/post-compile/update-description-file index 7d00298..f8c2bd6 100755 --- a/src/triggers/post-compile/update-description-file +++ b/src/triggers/post-compile/update-description-file @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # For normal (not "wild") repos, gitolite v3 sets 'gitweb.description' instead # of putting the text in the "description" file. This is easier because it diff --git a/src/triggers/upstream b/src/triggers/upstream index 7834778..7c4981d 100755 --- a/src/triggers/upstream +++ b/src/triggers/upstream @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # manage local, gitolite-controlled, copies of read-only upstream repos.