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
fixed link problem in download script
[hdw-linux/hdw-linux.git]
/
scripts
/
Download
diff --git
a/scripts/Download
b/scripts/Download
index
830ebd2
..
cd73b12
100755
(executable)
--- a/
scripts/Download
+++ b/
scripts/Download
@@
-217,11
+217,11
@@
for dir in `ls -A --ignore="CVS" ./download`; do
echo
# possibly the package exists
mkdir -p ./download/$dir/$pkg ; cd ./download/$dir/$pkg
echo
# possibly the package exists
mkdir -p ./download/$dir/$pkg ; cd ./download/$dir/$pkg
+ tolf="`find ../.. -name $file | tail -1`"
if [ -f ./$file ] ; then
echo "$file allready downloaded."
echo
if [ -f ./$file ] ; then
echo "$file allready downloaded."
echo
- elif [ -n "`find ../../.. -name $file`" ] ; then
- tolf="`echo $bar | awk '{ print $1 }'`"
+ elif [ -n "$tolf" ] ; then
ln -svf $tolf .
else
ln -svf $tolf .
else