ci: remove bashisms and switch to #!/bin/sh

This commit is contained in:
Travis Cross 2012-05-06 03:24:46 +00:00
parent 2769fc6585
commit 10203ee645
10 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
src_repo="$(pwd)"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
sdir="."

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
src_repo="$(pwd)"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
src_repo="$(pwd)"
@ -13,7 +13,7 @@ if [ -z "$1" ]; then
exit 1;
fi
mkdir -p $src_repo/rpmbuild/{SOURCES,BUILD,BUILDROOT,i386,x86_64,SOURCES,SPECS}
(mkdir -p rpmbuild && cd $_ && mkdir -p SOURCES BUILD BUILDROOT i386 x86_64 SOURCES SPECS)
cd $src_repo
rpmbuild --define "_topdir %(pwd)/rpmbuild" \

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
src_repo="$(pwd)"
@ -8,7 +8,7 @@ if [ ! -d .git ]; then
exit 1;
fi
mkdir -p $src_repo/rpmbuild/{SOURCES,BUILD,BUILDROOT,i386,x86_64,SOURCES,SPECS}
(mkdir -p rpmbuild && cd $_ && mkdir -p SOURCES BUILD BUILDROOT i386 x86_64 SOURCES SPECS)
cd $src_repo/rpmbuild/SOURCES

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
sdir="."
@ -12,7 +12,7 @@ dst_name="freeswitch-$cmajor.$cminor.$cmicro"
dst_parent="/tmp/"
dst_dir="/tmp/$dst_name"
mkdir -p $src_repo/rpmbuild/{SOURCES,BUILD,BUILDROOT,i386,x86_64,SPECS}
(mkdir -p rpmbuild && cd $_ && mkdir -p SOURCES BUILD BUILDROOT i386 x86_64 SPECS)
cd $src_repo

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
sdir="."

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
src_repo="$(pwd)"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
src_repo="$(pwd)"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
##### -*- mode:shell-script; indent-tabs-mode:nil; sh-basic-offset:2 -*-
sdir="."