Queer European MD passionate about IT
Explorar o código

Prevent globbing and word splitting

Davte %!s(int64=4) %!d(string=hai) anos
pai
achega
0f4d31892f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;