Otherwise, out of tree builds will fail to copy the template.
Signed-off-by: Matt Turner <mattst88@gmail.com>
fi
# Negative tests. Check against values which may cause problems
-cp templates/template-krb5name.tmpl ${TMPLFILE}
+cp "${srcdir}/templates/template-krb5name.tmpl" ${TMPLFILE}
echo "krb5_principal = 'xxxxxxxxxxxxxx'" >>${TMPLFILE}
datefudge -s "2007-04-22" \
exit ${rc}
fi
-cp templates/template-krb5name.tmpl ${TMPLFILE}
+cp "${srcdir}/templates/template-krb5name.tmpl" ${TMPLFILE}
echo "krb5_principal = 'comp1/comp2/comp3/comp4/comp5/comp6/comp7/comp8/comp9/comp10@REALM.COM'" >>${TMPLFILE}
datefudge -s "2007-04-22" \