94fba4e
diff --git a/brp-python-hardlink b/brp-python-hardlink
94fba4e
index a937529..210d69c 100755
94fba4e
--- a/brp-python-hardlink
94fba4e
+++ b/brp-python-hardlink
94fba4e
@@ -10,8 +10,8 @@ fi
94fba4e
 find "$RPM_BUILD_ROOT" -type f -name "*.pyc" | while read pyc ; do
94fba4e
        pyo="$(echo $pyc | sed -e 's/.pyc$/.pyo/')"
94fba4e
        if [ -f "$pyo" ] ; then
94fba4e
-               csha="$(sha1sum -b $pyc | cut -d' ' -f 1)" && \
94fba4e
-               osha="$(sha1sum -b $pyo | cut -d' ' -f 1)" && \
94fba4e
+               csha="$(sha1sum -b "$pyc" | cut -d' ' -f 1)" && \
94fba4e
+               osha="$(sha1sum -b "$pyo" | cut -d' ' -f 1)" && \
94fba4e
                if [ "$csha" = "$osha" ] ; then
94fba4e
                        ln -f "$pyc" "$pyo"
94fba4e
                fi