From 954a0dfaec9123c4f565e22e539d4630df63b4c1 Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 28 Nov 2008 20:11:31 +0000 Subject: fix git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@612 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/createpkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/createpkg b/trunk/src/createpkg index 9fd1de8..e6f0a1a 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -380,7 +380,7 @@ function remove_old_package_data { if [ "`package_version $candidate`" != "$PACKAGE_VERSION" ] || \ [ "`package_arch $candidate`" != "$PACKAGE_ARCH" ] || \ [ "`package_build $candidate`" != "$PACKAGE_BUILD" ] || \ - [ "`dirname $candidate`" != "`dirname $makepkg_repos/$SUBFOLDER/$PKG_NAME`" ]; then + [ "`dirname $candidate | sed -e 's/^\.\///'`" != "`dirname $SUBFOLDER/$PKG_NAME | sed -e 's/^\.\///'`" ]; then svn_del $file fi done -- cgit v1.2.3