From 0ff995372cc40fb503b63e31564f6a4f22f564ff Mon Sep 17 00:00:00 2001 From: rhatto Date: Wed, 17 Dec 2008 16:40:21 +0000 Subject: minor fixes git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@671 04377dda-e619-0410-9926-eae83683ac58 --- trunk/lib/common.sh | 2 +- trunk/src/createpkg | 2 ++ trunk/src/mkbuild | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) (limited to 'trunk') diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh index dad6471..d516448 100644 --- a/trunk/lib/common.sh +++ b/trunk/lib/common.sh @@ -687,7 +687,7 @@ function svn_copy { fi # copy file - if is_the_same $orig $(dirname $dest); then + if ! is_the_same $orig $(dirname $dest); then cp $orig/$file $dest fi diff --git a/trunk/src/createpkg b/trunk/src/createpkg index 3115519..86be854 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -695,6 +695,8 @@ fi # Sign package if [ $SIGN_PACKAGES -eq $on ]; then + echo "Signing package..." + if [ ! -z "$SIGN_PACKAGES_KEYID" ]; then SIGN_KEYID="-u $SIGN_PACKAGES_KEYID" else diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild index fa91278..2fd3964 100755 --- a/trunk/src/mkbuild +++ b/trunk/src/mkbuild @@ -649,7 +649,7 @@ function submit_mkbuild { function submit_cleanup { # remove files that should not be stored at the mkbuilds repository - if is_the_same $(dirname $MKBUILD_PATH) $WORK; then + if ! is_the_same $(dirname $MKBUILD_PATH) $WORK; then ( cd $WORK rm -f *.old *.tmp *.SlackBuild *.slack-required -- cgit v1.2.3