xbps-src: update PATH with default PREFIX set by make.

--HG--
extra : convert_revision : 235ae5d28d075ffda87734224a4edf724799e2f1
This commit is contained in:
Juan RP 2009-01-14 16:50:30 +01:00
parent 869b38b9fa
commit bc9bf83f0a
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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"
}
#