[pybliographer/gtk3] scripts: Fix shell syntax for condition



commit b7e6b7deb9a01fb641876f00046ae8cd66bdb189
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Fri Mar 21 16:39:46 2014 -0700

    scripts: Fix shell syntax for condition

 scripts/pybscript.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/scripts/pybscript.in b/scripts/pybscript.in
index 1f3d4a8..8bbc9b7 100644
--- a/scripts/pybscript.in
+++ b/scripts/pybscript.in
@@ -10,7 +10,7 @@ if test -x "./pybliographer" ; then
     export PYTHONPATH
 else
     pyblio="@bin_dir@/pybliographer"
-    if [ -d "$prefix" ] && [[ ":$PYTHONPATH:" != *":$prefix:"* ]]; then
+    if [ -d "$prefix" ] && [ ":$PYTHONPATH:" != *":$prefix:"* ]; then
         PYTHONPATH="${PYTHONPATH:+"$PYTHONPATH:"}$prefix"
     fi
 fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]