From 5b8c152684f4ab79993506b1cc42098b10c6780b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Sun, 13 Jan 2019 15:54:33 +0100 Subject: [PATCH] Fix $1 variable --- conf/virtualenv_activate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/virtualenv_activate b/conf/virtualenv_activate index 7495379..a3b5883 100644 --- a/conf/virtualenv_activate +++ b/conf/virtualenv_activate @@ -28,7 +28,7 @@ deactivate () { fi unset VIRTUAL_ENV - if [ ! "$1" = "nondestructive" ] ; then + if [ ! "${1:-}" = "nondestructive" ] ; then # Self destruct! unset -f deactivate fi