xbps-src: copy XBPS_* settings from etc/conf only if the file exists.
This commit is contained in:
parent
abb9291457
commit
a5e726c4ec
@ -11,7 +11,9 @@ XBPS_CXXFLAGS="$XBPS_CXXFLAGS"
|
|||||||
XBPS_CPPFLAGS="$XBPS_CPPFLAGS"
|
XBPS_CPPFLAGS="$XBPS_CPPFLAGS"
|
||||||
XBPS_LDFLAGS="$XBPS_LDFLAGS"
|
XBPS_LDFLAGS="$XBPS_LDFLAGS"
|
||||||
_EOF
|
_EOF
|
||||||
|
if [ -e $XBPS_CONFIG_FILE ]; then
|
||||||
grep -E '^XBPS_.*' $XBPS_CONFIG_FILE >> $XBPSSRC_CF
|
grep -E '^XBPS_.*' $XBPS_CONFIG_FILE >> $XBPSSRC_CF
|
||||||
|
fi
|
||||||
|
|
||||||
echo "# End of configuration file." >> $XBPSSRC_CF
|
echo "# End of configuration file." >> $XBPSSRC_CF
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user