From: William King Date: Thu, 8 Oct 2015 22:02:27 +0000 (-0700) Subject: FS-8271 fixing bash typo X-Git-Tag: v1.6.3~1^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ac881fb51493ef82544bc81e18a5c5aff0cf147;p=thirdparty%2Ffreeswitch.git FS-8271 fixing bash typo --- diff --git a/debian/util.sh b/debian/util.sh index 50da50d12b..97d87b0b74 100755 --- a/debian/util.sh +++ b/debian/util.sh @@ -293,10 +293,10 @@ build_debs () { # Caller has explicitly set the custom sources file to empty string. They must intend to not use additional mirrors. use_custom_sources=false fi - if [ "$custom_source_file" == "/tmp/fs.sources.list" && ! -e "/tmp/fs.sources.list" ]; then + if [[ "$custom_source_file" == "/tmp/fs.sources.list" && ! -e "/tmp/fs.sources.list" ]]; then echo "deb http://files.freeswitch.org/repo/deb/debian/ jessie main" >> "/tmp/fs.sources.list" fi - if [ "$custom_keyring" == "/tmp/fs.asc" && ! -r "/tmp/fs.asc" ]; then + if [[ "$custom_keyring" == "/tmp/fs.asc" && ! -r "/tmp/fs.asc" ]]; then cat << EOF > "/tmp/fs.asc" -----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1.4.12 (GNU/Linux)