diff --git a/cmake/getDebianBuildVersion b/cmake/getDebianBuildVersion
index ed030d35af9d85e336352beaeb58b2dd216d01c6..a5c561bd0d9472c82e0fa45ef2843deaa96c51a7 100755
--- a/cmake/getDebianBuildVersion
+++ b/cmake/getDebianBuildVersion
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 # obtain configuration
-source "$(dirname \"$0\")/DebianPackaging.config"
+source "$(dirname $0)/DebianPackaging.config"
 
 # check minimum number of command line parameters
 if [ $# -lt 3 ]; then