Commit 63320e40 authored by chak's avatar chak
Browse files

[project @ 2001-04-16 01:30:16 by chak]

$(bindir) has to be in place before creating symbolic links (otherwise, rpms
cannot be built with the BUILD_ROOT feature).
parent 1b9312bd
......@@ -701,6 +701,7 @@ $(LINK) : $(LINK_TARGET)
# install links to script drivers.
#
install ::
@$(INSTALL_DIR) $(bindir)
@if ( $(PERL) -e '$$fn="$(bindir)/$(LINK)"; exit ((! -f $$fn || -l $$fn) ? 0 : 1);' ); then \
echo "Creating a symbol link from $(LINK_TARGET) to $(LINK) in $(bindir)"; \
$(RM) $(bindir)/$(LINK); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment