(minor) bash -> sh changes in some non-core code

/bin/bash is muscle memory for me, although it appears that not too much
of the actual code is bash-specific, so it's reasonably easy to fix.
redis
Sitaram Chamarty 2012-10-27 07:07:30 +05:30
parent 3eefc06551
commit 4eb8cd4ad1
5 changed files with 6 additions and 8 deletions

View File

@ -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" ] && {

View File

@ -1,5 +1,4 @@
#!/bin/bash
# TODO: convert to perl!
#!/bin/sh
# gitolite VREF to find autogenerated files

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# gitolite VREF to count votes before allowing pushes to certain branches.

View 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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# manage local, gitolite-controlled, copies of read-only upstream repos.