xbps-src: copy XBPS_* settings from etc/conf only if the file exists.
This commit is contained in:
parent
abb9291457
commit
a5e726c4ec
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
grep -E '^XBPS_.*' $XBPS_CONFIG_FILE >> $XBPSSRC_CF
|
if [ -e $XBPS_CONFIG_FILE ]; then
|
||||||
|
grep -E '^XBPS_.*' $XBPS_CONFIG_FILE >> $XBPSSRC_CF
|
||||||
|
fi
|
||||||
|
|
||||||
echo "# End of configuration file." >> $XBPSSRC_CF
|
echo "# End of configuration file." >> $XBPSSRC_CF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue