Commit ffd9030e authored by Natanael Copa's avatar Natanael Copa
Browse files

automatically md5check and fetch

parent 6bbb1b6b
......@@ -108,6 +108,7 @@ md5check() {
if [ "$(echo $source | wc -l)" -ne "$(echo $md5sums | wc -l)" ]; then
die "Number of md5sums does not correspond to number of sources"
msg "Checking md5sums..."
cd "$srcdir" && echo "$md5sums" | md5sum -c
......@@ -153,6 +154,7 @@ fetch() {
# unpack the sources
unpack() {
local u
mkdir -p "$srcdir"
for u in $source; do
local s="$SRCDEST/${u##*/}" # $(basename $s)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment