aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/createpkg
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/createpkg')
-rw-r--r--trunk/src/createpkg1
1 files changed, 1 insertions, 0 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg
index 1ce7530..a41e149 100644
--- a/trunk/src/createpkg
+++ b/trunk/src/createpkg
@@ -562,6 +562,7 @@ if [ $REMOVE_OLD_PACKAGE -eq $on ]; then
# Using -mindepth 2 so it doesn't delete the new package
for file in `find . -mindepth 2 -name "$PACKAGE-*-*-*.tgz" -o -name 'simplepkg-*-*-*.meta'`; do
if svn_check $file; then
+ file="`basename $file .meta`" # strip this otherwise package info functions will fail
# Just delete packages with different arch, version or build number
if [ "`package_version $file`" != "$PACKAGE_VERSION" ] || \
[ "`package_arch $file`" != "$PACKAGE_ARCH" ] || \