From 66b4cfe770a412193cf2064c8a06fa96e5435d08 Mon Sep 17 00:00:00 2001 From: Jason Chu Date: Thu, 3 Mar 2005 15:22:56 +0000 Subject: fixed the typo in my logic git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@205 630f3fb4-fbd1-0310-a574-b293cca3120f --- checkpkg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/checkpkg b/checkpkg index 8f91469..fea294d 100644 --- a/checkpkg +++ b/checkpkg @@ -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 -- cgit v1.2.3-54-g00ecf