diff options
author | Jason Chu <jason@archlinux.org> | 2005-03-03 15:22:56 +0000 |
---|---|---|
committer | Jason Chu <jason@archlinux.org> | 2005-03-03 15:22:56 +0000 |
commit | 66b4cfe770a412193cf2064c8a06fa96e5435d08 (patch) | |
tree | 8c2665d1433337c392d957f2541fed304a369fef /checkpkg | |
parent | f1fe91af29af5215b29faa3a18031a37a48e0b25 (diff) |
fixed the typo in my logic
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@205 630f3fb4-fbd1-0310-a574-b293cca3120f
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 |