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"
|
||||
|
||||
if [ -z "$lwrksrc" -o ! -d "$lwrksrc" ]; then
|
||||
return 1
|
||||
if [ ! -d "$lwrksrc" ]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
msg_normal "Cleaning '${sourcepkg}' build directory...\n"
|
||||
|
|
Loading…
Reference in New Issue