]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8271 fixing bash typo
authorWilliam King <william.king@quentustech.com>
Thu, 8 Oct 2015 22:02:27 +0000 (15:02 -0700)
committerWilliam King <william.king@quentustech.com>
Thu, 8 Oct 2015 22:02:27 +0000 (15:02 -0700)
debian/util.sh

index 50da50d12bb7af6230f0135eeb3281ca148c2dcc..97d87b0b745ac8a45fe632c2eb71606aeb2d06bb 100755 (executable)
@@ -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)