* update output from mkversion.sh to include the SAMBA_VENDOR_PATCH
NSS_STATUS_SUCCESS) {
d_fprintf(stderr, "could not obtain winbind separator!\n");
if (strict) {
- return -1;
+ return 0;
}
/* HACK: (this module should not call lp_ funtions) */
return *lp_winbind_separator();
if (!sep) {
d_fprintf(stderr, "winbind separator was NULL!\n");
if (strict) {
- return -1;
+ return 0;
}
/* HACK: (this module should not call lp_ funtions) */
sep = *lp_winbind_separator();
break;
case OPT_SEPARATOR: {
const char sep = winbind_separator_int(True);
- if (sep == -1) {
+ if ( !sep ) {
goto done;
}
d_printf("%c\n", sep);
echo "$0: 'include/version.h' created for Samba(\"${SAMBA_VERSION_STRING}\")"
if test -n "${SAMBA_VERSION_VENDOR_SUFFIX}";then
- echo "$0: with VENDOR_SUFFIX = ${SAMBA_VERSION_VENDOR_SUFFIX}"
+ echo -n "$0: with VENDOR_SUFFIX = \""
+ echo -n ${SAMBA_VERSION_VENDOR_SUFFIX} | sed 's/"//g'
+ if test -n ${SAMBA_VENDOR_PATCH}; then
+ echo -n "-${SAMBA_VENDOR_PATCH}"
+ fi
+ echo "\""
fi
exit 0