aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src')
-rw-r--r--trunk/src/createpkg4
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/src/createpkg b/trunk/src/createpkg
index 4b48854..0694d24 100644
--- a/trunk/src/createpkg
+++ b/trunk/src/createpkg
@@ -716,10 +716,10 @@ if [ $SIGN_PACKAGES -eq $on ]; then
fi
if [ ! -z "$SIGN_PACKAGES_USER" ]; then
- REPOSITORY_OWNER="$(get_owner $(dirname $PACKAGES_DIR))"
+ REPOSITORY_OWNER="$(get_owner $PACKAGES_DIR)"
chown $SIGN_PACKAGES_USER `dirname $PACKAGES_DIR`
su $SIGN_PACKAGES_USER -c "gpg --use-agent --armor -sb -u $SIGN_KEYID $PACKAGES_DIR/$PKG_NAME"
- chown $REPOSITORY_OWNER `dirname $PACKAGES_DIR`
+ chown $REPOSITORY_OWNER $PACKAGES_DIR
else
gpg --use-agent --armor -sb -u $SIGN_KEYID $PACKAGES_DIR/$PKG_NAME
fi