The arguments --tar and --tar-args are not working correctly for gpg-zip
(tar-args was also mentioned in Issue1351). I would suggest the following fix:
- 104,108 **** ;; --tar)
! TAR=$1
shift ;;
- 104,109 ---- ;; --tar)
! TAR=$2
! shift
shift ;;
- 128,132 **** if test x$create = xyes ; then
- echo "$TAR -cf - "$@" | $GPG --set-filename x.tar $gpg_args" 1>&2
! $TAR -cf - "$@" | $GPG --set-filename x.tar $gpg_args
elif test x$list = xyes ; then # echo "cat \"$1\" | $GPG $gpg_args | $TAR $tar_args -tf -" 1>&2
- 129,133 ---- if test x$create = xyes ; then
- echo "$TAR -cf - "$@" | $GPG --set-filename x.tar $gpg_args" 1>&2
! $TAR $tar_args -cf - "$@" | $GPG --set-filename x.tar $gpg_args
elif test x$list = xyes ; then # echo "cat \"$1\" | $GPG $gpg_args | $TAR $tar_args -tf -" 1>&2