mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 14:58:34 +00:00
ci: wrap sanity checks
This commit is contained in:
1 parent
c204243b1b
commit
20ac9757ba
5 files changed
+20
-8
No files matched your search
+12
-8
@@ -73,13 +73,17 @@ gnuize () {
|
||||
rm -rf .git
|
||||
}
|
||||
|
||||
if [ ! -d .git ]; then
|
||||
echo "error: must be run from within the top level of a FreeSWITCH git tree." 1>&2
|
||||
exit 1;
|
||||
fi
|
||||
check_pwd () {
|
||||
if [ ! -d .git ]; then
|
||||
echo "error: must be run from within the top level of a FreeSWITCH git tree." 1>&2
|
||||
exit 1;
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "usage: $0 <version> <build-number>" 1>&2
|
||||
exit 1;
|
||||
fi
|
||||
check_input_ver_build () {
|
||||
if [ -z "$1" ]; then
|
||||
echo "usage: $0 <version> <build-number>" 1>&2
|
||||
exit 1;
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user