diff options
-rw-r--r-- | src/oh-gencontrol | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oh-gencontrol b/src/oh-gencontrol index a54596e..67bd280 100644 --- a/src/oh-gencontrol +++ b/src/oh-gencontrol @@ -144,7 +144,7 @@ gen_control_bin() fi # MD5 checksums. - find ${data_dir} -type f | sed "@^${data_dir}@@" | sort | xargs md5sum \ + find ${data_dir} -type f | sort | xargs md5sum | sed "s@ ${data_dir}@ @" \ > ${control_dir}/md5sums if [ -z "$(head -n 1 ${control_dir}/md5sums)" ]; then rm -f ${control_dir}/md5sums |