aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/createpkg
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/createpkg')
-rw-r--r--trunk/src/createpkg2
1 files changed, 1 insertions, 1 deletions
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