aboutsummaryrefslogtreecommitdiff
path: root/trunk
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 01:21:37 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2008-11-28 01:21:37 +0000
commitdcf99f4986fbf368911fb27c2b10c2e80482a9a3 (patch)
tree65f3abaa5a808dbb1d563cd590135f3994f7b872 /trunk
parent98e1c8c151c03b86da70929a9a4e106a0e5e42ad (diff)
downloadsimplepkg-dcf99f4986fbf368911fb27c2b10c2e80482a9a3.tar.gz
simplepkg-dcf99f4986fbf368911fb27c2b10c2e80482a9a3.tar.bz2
fixes
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@571 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk')
-rw-r--r--trunk/src/createpkg2
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" ] || \