Fix compiling without OBJDIR

This commit is contained in:
Pierre Pronchery 2016-12-29 21:13:09 +01:00
parent fd3e628984
commit 540410341e

View File

@ -151,7 +151,7 @@ while [ $# -gt 0 ]; do
#create
source="${target#$OBJDIR}"
source="${source}.in"
$DEBUG $MKDIR -- "${target%/*}" || exit 2
([ -z "$OBJDIR" ] || $DEBUG $MKDIR -- "${target%/*}") || exit 2
$DEBUG $SED -e "s;@PACKAGE@;$PACKAGE;" \
-e "s;@VERSION@;$VERSION;" \
-e "s;@PREFIX@;$PREFIX;" \