Fix: add variable quoting to shell scripts
[lttng-modules.git] / rt-patch-version.sh
index 89c77554358a4a454bc893885326320a28dabff5..6a00fef08b0498b648bc8e75c7311c276421e674 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 # First argument is the path to the kernel headers.
-KPATH=$1
+KPATH="$1"
 
 VERSIONFILE=""
 
@@ -22,4 +22,4 @@ if [ "x${RT_PATCH_VERSION}" = "x" ]; then
        exit 0
 fi
 
-echo ${RT_PATCH_VERSION}
+echo "${RT_PATCH_VERSION}"
This page took 0.022579 seconds and 4 git commands to generate.