xbps-src: do not return error if $wrksrc doesn't exist in the 'clean' target.
This commit is contained in:
parent
e208917135
commit
81cad50a1e
|
@ -242,8 +242,8 @@ remove_tmpl_wrksrc()
|
||||||
{
|
{
|
||||||
local lwrksrc="$1"
|
local lwrksrc="$1"
|
||||||
|
|
||||||
if [ -z "$lwrksrc" -o ! -d "$lwrksrc" ]; then
|
if [ ! -d "$lwrksrc" ]; then
|
||||||
return 1
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_normal "Cleaning '${sourcepkg}' build directory...\n"
|
msg_normal "Cleaning '${sourcepkg}' build directory...\n"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user