No longer re-create the targets when installing
This commit is contained in:
parent
6f5f1054ae
commit
7b972c0743
|
@ -112,6 +112,13 @@ while [ $# -gt 0 ]; do
|
|||
continue
|
||||
fi
|
||||
|
||||
#install
|
||||
if [ "$install" -eq 1 ]; then
|
||||
$DEBUG $MKDIR -- "$instdir" || exit 2
|
||||
$DEBUG $INSTALL -- "$target" "$instdir/$target" || exit 2
|
||||
continue
|
||||
fi
|
||||
|
||||
#create
|
||||
$DEBUG $XSLTPROC -o "$target" "$XSL" "$source"
|
||||
#XXX ignore errors
|
||||
|
@ -120,10 +127,4 @@ while [ $# -gt 0 ]; do
|
|||
$RM -- "$target"
|
||||
break
|
||||
fi
|
||||
|
||||
#install
|
||||
if [ "$install" -eq 1 ]; then
|
||||
$DEBUG $MKDIR -- "$instdir" || exit 2
|
||||
$DEBUG $INSTALL -- "$target" "$instdir/$target" || exit 2
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue
Block a user