]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
fix
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 28 Nov 2008 20:11:31 +0000 (20:11 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Fri, 28 Nov 2008 20:11:31 +0000 (20:11 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@612 04377dda-e619-0410-9926-eae83683ac58

trunk/src/createpkg

index 9fd1de8ce3318ee522b0fb34a8c030c81858a275..e6f0a1a2a10ea4256b1d8d87508a68c160ae752c 100644 (file)
@@ -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