# HG changeset patch # User Christophe Lincoln # Date 1336677004 -7200 # Node ID 0c0e4f64389a2c4e095d2ccba87646e88df319a0 # Parent ae512633e579ff6559941d777f47211bd18adc87 cross: use default system config file or the one in current dir diff -r ae512633e579 -r 0c0e4f64389a cross --- a/cross Thu May 10 21:08:22 2012 +0200 +++ b/cross Thu May 10 21:10:04 2012 +0200 @@ -6,7 +6,9 @@ # Author: Christophe Lincoln # . /lib/libtaz.sh -. cross.conf || exit 1 + +[ -f "/etc/slitaz/cross.conf" ] && . /etc/slitaz/cross.conf +[ -f "cross.conf" ] && . ./cross.conf # Help and usage. usage() {