diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-11-04 11:23:01 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-11-04 11:23:01 -0500 |
commit | b20b7b03053f94499085a4570a241428b5676ce2 (patch) | |
tree | 6ffd4ca503c8dad561dc0592e4909e2798b9867f /src/abslibre-tools/libreaddiff | |
parent | a9f812439059c7f6b4d631fcf02fc2c7a7200172 (diff) |
normalize on "[[" instead of "["
Diffstat (limited to 'src/abslibre-tools/libreaddiff')
-rwxr-xr-x | src/abslibre-tools/libreaddiff | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/abslibre-tools/libreaddiff b/src/abslibre-tools/libreaddiff index 9f5ae27..3855279 100755 --- a/src/abslibre-tools/libreaddiff +++ b/src/abslibre-tools/libreaddiff @@ -74,14 +74,14 @@ except StopIteration: load_PKGBUILD "$f/PKGBUILD" || continue is_here=false for arc in ${arch[@]} ; do - if [ "$arc" = "any" -o "$arc" = "$CARCH" ] ; then + if [[ "$arc" == "any" ]] || [[ "$arc" == "$CARCH" ]] ; then is_here=true break fi done - if [ "$is_here" = "true" ] ; then + if [[ "$is_here" == "true" ]] ; then for name in ${pkgname[@]} ; do - if [ -z "$epoch" ] ; then + if [[ -z "$epoch" ]] ; then echo $name-$pkgver-$pkgrel else echo $name-$epoch:$pkgver-$pkgrel |