aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/createpkg
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 20:11:31 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 20:11:31 +0000
commit954a0dfaec9123c4f565e22e539d4630df63b4c1 (patch)
treed2dce7dcd230f62057e63dc5d5d780030b919cb7 /trunk/src/createpkg
parent4e79326ef05eaae9196e189318bfb2052b07ad09 (diff)
downloadsimplepkg-954a0dfaec9123c4f565e22e539d4630df63b4c1.tar.gz
simplepkg-954a0dfaec9123c4f565e22e539d4630df63b4c1.tar.bz2
fix
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@612 04377dda-e619-0410-9926-eae83683ac58
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