Queer European MD passionate about IT
Преглед на файлове

Prevent globbing and word splitting

Davte преди 4 години
родител
ревизия
0f4d31892f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      update_package.sh

+ 1 - 1
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;