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



commit 6d3fdc9c33cfeb85f988359b8794cbee8eb40fa4
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]