Skip to content
Snippets Groups Projects
Commit 62860de1 authored by Allan McRae's avatar Allan McRae Committed by Pierre Schmitz
Browse files

checkpkg: Do not download oldpkg if in starting directory

parent 14ba11dc
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,8 @@ for _pkgname in ${pkgname[@]}; do
cp `echo $pkgurl | sed 's#^file://##'` .
elif [ -f $PKGDEST/$oldpkg ]; then
cp $PKGDEST/$oldpkg .
elif [ -f $STARTDIR/$oldpkg ]; then
cp $STARTDIR/$oldpkg .
else
wget --quiet $pkgurl
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment