(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.
This commit is contained in:
parent
3eefc06551
commit
4eb8cd4ad1
|
@ -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" ] && {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/bash
|
||||
# TODO: convert to perl!
|
||||
#!/bin/sh
|
||||
|
||||
# gitolite VREF to find autogenerated files
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# gitolite VREF to count votes before allowing pushes to certain branches.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
# manage local, gitolite-controlled, copies of read-only upstream repos.
|
||||
|
||||
|
|
Loading…
Reference in a new issue