[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/icecream/client
From: Dirk Mueller <mueller () kde ! org>
Date: 2006-05-30 23:50:50
Message-ID: 1149033050.508603.21362.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 546767 by mueller:
fix md5sum calculation
M +4 -4 create-env
--- branches/work/icecream/client/create-env #546766:546767
@@ -110,16 +110,16 @@
done
# now strip the target files as necessary
-for i in $new_target_files; do
- if test -f $i -a -x $i; then
- strip -s $i
+for i in $target_files; do
+ if test -f $tempdir/$i -a -x $tempdir/$i; then
+ strip -s $tempdir/$i
fi
done
# now sort the files in order to make the md5sums independent
# of ordering
target_files=`for i in $new_target_files; do echo $i; done | sort`
-md5=`for i in $target_files; do md5sum $tmpdir/$i; done | sed -e 's/ .*$//' | md5sum \
| sed -e 's/ .*$//'` || { +md5=`for i in $target_files; do md5sum $tempdir/$i; done | \
sed -e 's/ .*$//' | md5sum | sed -e 's/ .*$//'` || { echo "Couldn't compute MD5 \
sum." exit 2
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic