diff --git a/hook-functions b/hook-functions
index aeb5cea..f5a730a 100644
--- a/hook-functions
+++ b/hook-functions
@@ -121,7 +121,7 @@ copy_exec() {
 	cp -pL "${src}" "${DESTDIR}/${target}"
 
 	# Copy the dependant libraries
-	for x in $(ldd ${src} 2>/dev/null | sed -e '
+	for x in $(ldd "${src}" 2>/dev/null | sed -e '
 		/\//!d;
 		/linux-gate/d;
 		/=>/ {s/.*=>[[:blank:]]*\([^[:blank:]]*\).*/\1/};
