Check that the archive is actually created by "make distcheck"
This commit is contained in:
parent
e1ba9f00c7
commit
153725e516
|
@ -107,8 +107,9 @@ _deforaos_release()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_info "Creating the archive..."
|
_info "Creating the archive..."
|
||||||
|
archive="$PACKAGE-$VERSION.tar.gz"
|
||||||
$DEBUG $MAKE distcheck
|
$DEBUG $MAKE distcheck
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 -o ! -f "$archive" ]; then
|
||||||
_error "Could not create the archive"
|
_error "Could not create the archive"
|
||||||
return $?
|
return $?
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user