xbps-src: update PATH with default PREFIX set by make.
--HG-- extra : convert_revision : 235ae5d28d075ffda87734224a4edf724799e2f1
This commit is contained in:
parent
869b38b9fa
commit
bc9bf83f0a
|
@ -33,3 +33,5 @@ install: $(BINS)
|
|||
install -d $(SBINDIR)
|
||||
install -m 755 $(BINS) $(SBINDIR)
|
||||
install -m 755 xbps-src.sh $(SBINDIR)/xbps-src
|
||||
sed -i -e "s|@@XBPS_INSTALL_PREFIX@@|$(PREFIX)|g" $(SBINDIR)/xbps-src
|
||||
|
||||
|
|
|
@ -151,6 +151,8 @@ check_config_vars()
|
|||
[ $? -ne 0 ] && msg_error "couldn't create '$f' directory"
|
||||
fi
|
||||
done
|
||||
|
||||
export PATH="$PATH:@@XBPS_INSTALL_PREFIX@@/sbin"
|
||||
}
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue
Block a user