summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-05-20 13:21:44 -0400
committerJoey Hess <joey@kitenet.net>2011-05-20 13:21:44 -0400
commita2055ea149ab00acc864c45db909463a40404a8f (patch)
treebcf4a5bc44254c4ef777bc5f0ea6e0efe32aa650
parent3bcad664b0fe6c05ffd363f408b6bae7b06aa1ec (diff)
parent2b3eea5ddf436fe54bb64032650cbde2d9cde4da (diff)
downloaddebootstrap-a2055ea149ab00acc864c45db909463a40404a8f.tar.gz
Merge branch 'new'
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions b/functions
index b6e3ba8..725ab15 100644
--- a/functions
+++ b/functions
@@ -452,7 +452,7 @@ apt_dest () {
get_release_checksum () {
local reldest="$1"
local path="$2"
- sed -n "/^[Sa][Hh][Aa]$SHA_SIZE:/,/^[^ ]/p" < "$reldest" | \
+ sed -n "/^[Ss][Hh][Aa]$SHA_SIZE:/,/^[^ ]/p" < "$reldest" | \
while read a b c; do
if [ "$c" = "$path" ]; then echo "$a $b"; fi
done | head -n 1