diff options
Diffstat (limited to 'net/samba-devel/Makefile')
-rw-r--r-- | net/samba-devel/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/samba-devel/Makefile b/net/samba-devel/Makefile index a7ba0a4d78c7..5080bdef450a 100644 --- a/net/samba-devel/Makefile +++ b/net/samba-devel/Makefile @@ -96,7 +96,7 @@ post-install: fi ${CHMOD} 700 ${SAMBA_PRIVATE} if [ ! -f ${SAMBA_PRIVATE}/smbpasswd ] ; then \ - ${CAT} /etc/passwd | ${PREFIX}/bin/make_smbpasswd > ${SAMBA_PRIVATE}/smbpasswd ; \ + ${CAT} /etc/passwd | ${GREP} -v "^#" | ${PREFIX}/bin/make_smbpasswd > ${SAMBA_PRIVATE}/smbpasswd ; \ ${CHMOD} 600 ${SAMBA_PRIVATE}/smbpasswd ; \ fi ${CHMOD} 500 ${SAMBA_PRIVATE} |