diff options
author | jlam <jlam@pkgsrc.org> | 2002-11-07 18:20:28 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-11-07 18:20:28 +0000 |
commit | 32ad9dabc80c0eb2e474665bfb6098e31fde177b (patch) | |
tree | a20b8226790ad6178ef1aaa6691baa49533dda65 /lang/blackdown-jre13 | |
parent | 21f8f0f4b4bf41d98cd45ab5ad738783f494c9d6 (diff) | |
download | pkgsrc-32ad9dabc80c0eb2e474665bfb6098e31fde177b.tar.gz |
Don't chmod the distfile if the permissions are already correct.
Addresses pkg/18941 by Robert Elz.
Diffstat (limited to 'lang/blackdown-jre13')
-rw-r--r-- | lang/blackdown-jre13/Makefile.common | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/blackdown-jre13/Makefile.common b/lang/blackdown-jre13/Makefile.common index 0d7b8d8774f..5a6819f7f92 100644 --- a/lang/blackdown-jre13/Makefile.common +++ b/lang/blackdown-jre13/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.5 2002/10/13 07:41:58 jlam Exp $ +# $NetBSD: Makefile.common,v 1.6 2002/11/07 18:20:28 jlam Exp $ # RELVERSION= 1.3.1 @@ -63,7 +63,9 @@ ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-powerpc NetBSD-*-sparc \ .if ${EXTRACT_SUFX} == ".bin" EXTRACT_CMD= ${ECHO} yes | ${DISTDIR}/${DISTFILES} --nox11 > /dev/null post-fetch: - ${CHMOD} +x ${DISTDIR}/${DISTFILES} + @if [ ! -x ${DISTDIR}/${DISTFILES} ]; then \ + ${CHMOD} +x ${DISTDIR}/${DISTFILES}; \ + fi .endif post-patch: |