summaryrefslogtreecommitdiff
path: root/helpers/lh_source_md5sum
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:09 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:29 +0100
commit97c3a13dcc9becf93cb7c2aa89ea3e00f06b9179 (patch)
treed7facbbbf53b1a5bc0fa92f671f5b1e29a7e3200 /helpers/lh_source_md5sum
parent7c68e6ebca01f64501453fa53941ac77b9c2c335 (diff)
downloadlive-build-97c3a13dcc9becf93cb7c2aa89ea3e00f06b9179.zip
live-build-97c3a13dcc9becf93cb7c2aa89ea3e00f06b9179.tar.gz
Adding live-helper 1.0~a10-1.
Diffstat (limited to 'helpers/lh_source_md5sum')
-rwxr-xr-xhelpers/lh_source_md5sum5
1 files changed, 3 insertions, 2 deletions
diff --git a/helpers/lh_source_md5sum b/helpers/lh_source_md5sum
index 9569c22..e458ed8 100755
--- a/helpers/lh_source_md5sum
+++ b/helpers/lh_source_md5sum
@@ -40,7 +40,7 @@ then
fi
# Requiring stage file
-Require_stagefile .stage/source_download
+Require_stagefile .stage/source_debian
# Checking stage file
Check_stagefile .stage/source_md5sum
@@ -59,7 +59,8 @@ fi
# Calculating md5sums
cd source
-find . -type f -print0 | xargs -0 md5sum > md5sum.txt
+find . -type f | sort | xargs md5sum > ../md5sum.txt
+mv ../md5sum.txt ./
cd "${OLDPWD}"
# Creating stage file