From f6b7786025a5a1934ec1c217d4aa283ccd91393d Mon Sep 17 00:00:00 2001 From: Fabian Preiss Date: Sun, 19 May 2019 17:24:41 +0200 Subject: [PATCH] fixed wrong usuage of `find` in `etc/getVariables.py` --- etc/getVariables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/getVariables.py b/etc/getVariables.py index 248f9862e..67b6d8e67 100755 --- a/etc/getVariables.py +++ b/etc/getVariables.py @@ -229,7 +229,7 @@ class BashConvert(ShellConvert): val=":".join(v) else: val=v - if val.find(" "): + if " " in val: return 'export %s="%s"' % (n,val) else: return 'export %s=%s' % (n,val)