summaryrefslogtreecommitdiff
path: root/scripts/build/source_checksums
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:48:46 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:48:46 +0200
commitd1047e809a90daa0e88329efc0db21931be0b919 (patch)
tree5dc92aaaeb4d15dcad4796935b90a9675be93ad5 /scripts/build/source_checksums
parent160d6bade79bf58a1c0d1842dc9b55ec178ec303 (diff)
downloadvyos-live-build-d1047e809a90daa0e88329efc0db21931be0b919.tar.gz
vyos-live-build-d1047e809a90daa0e88329efc0db21931be0b919.zip
Adding debian version 4.0~a1-1.debian/4.0_a1-1
Diffstat (limited to 'scripts/build/source_checksums')
-rwxr-xr-xscripts/build/source_checksums13
1 files changed, 2 insertions, 11 deletions
diff --git a/scripts/build/source_checksums b/scripts/build/source_checksums
index 2923a6eb8..dac79762f 100755
--- a/scripts/build/source_checksums
+++ b/scripts/build/source_checksums
@@ -1,7 +1,7 @@
#!/bin/sh
## live-build(7) - System Build Scripts
-## Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org>
+## Copyright (C) 2006-2012 Daniel Baumann <daniel@debian.org>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
@@ -50,15 +50,7 @@ do
for CHECKSUM in ${LB_CHECKSUMS}
do
- case "${LB_MODE}" in
- progress-linux)
- CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
- ;;
-
- *)
- CHECKSUMS="${CHECKSUM}sum.txt"
- ;;
- esac
+ CHECKSUMS="$(echo ${CHECKSUM} | tr [a-z] [A-Z])SUMS"
Echo_message "Begin creating source ${CHECKSUMS}..."
@@ -72,7 +64,6 @@ do
cd ${DIRECTORY}
find . -type f \
\! -path './*SUMS' \
- \! -path './*sum.txt' \
-print0 | sort -z | xargs -0 ${CHECKSUM}sum > ../${CHECKSUMS}
cat > ${CHECKSUMS} << EOF