diff --git a/hplip.spec b/hplip.spec index 4d9d166..410c945 100644 --- a/hplip.spec +++ b/hplip.spec @@ -450,7 +450,7 @@ make install DESTDIR=%{buildroot} # https://bugzilla.opensuse.org/show_bug.cgi?id=784670 for pyc in $( find %{buildroot}%{_datadir}/hplip -name '*.pyc' ) do pyo="${pyc%.pyc}.pyo" - if test -f $pyo && cmp -s $pyc $pyo 1>/dev/null + if test -f $pyo && cmp -s $pyc $pyo then echo hardlinking $pyc and $pyo because both have same content ln -f $pyc $pyo fi