summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-27 22:39:22 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-27 22:39:22 (EST)
commit0d1eab86a1284385d2119f1080509be2c28d8d60 (patch)
treea837d46947d4ebdf2fe3440094818720b9653477 /src
parent9a57b7fe5fcbbaff344031c67c9082d56c9410bb (diff)
Fix md5sums list generation.
Diffstat (limited to 'src')
-rw-r--r--src/oh-gencontrol2
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