git » cracklib.git » commit ca00ad9

fix $startdir usage

author Allan McRae
2010-06-15 04:51:02 UTC
committer Allan McRae
2010-06-15 04:51:02 UTC
parent cb0be54ab771f3219bdc62330cc0ef6630efb354

fix $startdir usage

PKGBUILD +2 -2

diff --git a/PKGBUILD b/PKGBUILD
index de26455..8335c8f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,13 +13,13 @@ options=('!libtool')
 source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz)
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd $srcdir/$pkgname-$pkgver
   ./configure --prefix=/usr --without-python
   make || return 1
 }
 
 package() {
-  cd $startdir/src/$pkgname-$pkgver
+  cd $srcdir/$pkgname-$pkgver
   make DESTDIR=$pkgdir install
   install -Dm644 dicts/cracklib-small $pkgdir/usr/share/dict/cracklib-small
   sh ./util/cracklib-format dicts/cracklib-small \