diff options
Diffstat (limited to 'trunk/src/createpkg')
-rw-r--r-- | trunk/src/createpkg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg index a41e149..19b2c71 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -562,7 +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 + file="`echo $file | sed -e 's/\.meta/\.tgz/'`" # 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" ] || \ |