From 0f4d31892f750d93d7bbe5a9b11d9195e6fcd0fb Mon Sep 17 00:00:00 2001 From: Davte Date: Sun, 19 Jul 2020 16:11:00 +0200 Subject: [PATCH] Prevent globbing and word splitting --- update_package.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_package.sh b/update_package.sh index 9e15983..dc12dce 100644 --- a/update_package.sh +++ b/update_package.sh @@ -1,7 +1,7 @@ #!/bin/bash # Get current directory -this_script_directory=$(cd `dirname $0` && pwd) +this_script_directory=$(cd "$(dirname "$0")" && pwd) # Python virtual environment directory: packenv variable in my_config.sh source $this_script_directory/my_config.sh;