projects
/
hdw-linux
/
hdw-linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2005-08-27
[hdw-linux/hdw-linux.git]
/
scripts
/
Download
diff --git
a/scripts/Download
b/scripts/Download
index
cd73b12
..
5001ce6
100755
(executable)
--- a/
scripts/Download
+++ b/
scripts/Download
@@
-218,6
+218,9
@@
for dir in `ls -A --ignore="CVS" ./download`; do
# possibly the package exists
mkdir -p ./download/$dir/$pkg ; cd ./download/$dir/$pkg
tolf="`find ../.. -name $file | tail -1`"
+ if [ -n "$tolf" ] ; then
+ [ -d $tolf ] && tolf=""
+ fi
if [ -f ./$file ] ; then
echo "$file allready downloaded."
echo