diff options
Diffstat (limited to 'checkpkg')
-rw-r--r-- | checkpkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,8 +33,8 @@ if [ "$oldpkg" = "$pkgname-$pkgver-$pkgrel.pkg.tar.gz" ]; then fi if [ ! -f $oldpkg ]; then - if echo $oldpkg | grep "^file:///" > /dev/null 2>&1; then - cp `echo $oldpkg | sed 's#^file://##'` . + if echo $pkgurl | grep "^file:///" > /dev/null 2>&1; then + cp `echo $pkgurl | sed 's#^file://##'` . else wget $pkgurl fi |