diff options
Diffstat (limited to 'app/crypt')
-rwxr-xr-x | app/crypt/gnupg2/gnupg2.SlackBuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/crypt/gnupg2/gnupg2.SlackBuild b/app/crypt/gnupg2/gnupg2.SlackBuild index 17d5d717..2e7a17fa 100755 --- a/app/crypt/gnupg2/gnupg2.SlackBuild +++ b/app/crypt/gnupg2/gnupg2.SlackBuild @@ -91,7 +91,8 @@ fi gpg --verify "$SRC_DIR/$SRC.sig" "$SRC_DIR/$SRC" || exit $ERROR_GPG # Untar, patch, configure, compile and install -tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" -C "$SRC_DIR" || exit $ERROR_TAR +cd "$SRC_DIR" +tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR cd "$PKG_SRC/g10" patch -Np0 < "$CWD/filter-context-20-small.diff" || exit $ERROR_PATCH cd "$PKG_SRC" @@ -116,7 +117,7 @@ make install DESTDIR="$PKG" || exit $ERROR_INSTALL mv -f "$PKG/$PREFIX/share/gnupg" "$PKG/$PREFIX/share/gnupg2" # Install gpg2, gpgv2, gpg-agent, and gpgsm already suid root -chmod 4755 "$PKG/$PREFIX/bin/{gpg2,gpgv2,gpg-agent,gpgsm}" +chmod 4755 "$PKG/$PREFIX/bin/"{gpg2,gpgv2,gpg-agent,gpgsm} # Compress and link manpages if [ -d "$PKG/$PREFIX/man" ]; then |