summaryrefslogtreecommitdiff
path: root/utils/sb2-init
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2008-01-29 06:56:39 +0200
committerLauri Leukkunen <lle@rahina.org>2008-01-31 10:12:13 +0200
commitefe07798f16741d9941e2dc73ac632950b972571 (patch)
treea9770bcc1824a677b10ccacecc14769e233ee443 /utils/sb2-init
parent08febbea8258fc610bd0b4448a0e07ddf1f608fb (diff)
A fix for host-gcc parameter generation
- a bug that was introduced to sb2-init after version 1.9.0.22 caused host-gcc to fail, because incomplete configuration was written to sb2.config - Version number of config files was incremented, to force people to reconfigure (sorry about that, but it is necessary!) - fixed also a minor bug in sb2 (related to logging)
Diffstat (limited to 'utils/sb2-init')
-rwxr-xr-xutils/sb2-init4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/sb2-init b/utils/sb2-init
index 28af361..8f51c27 100755
--- a/utils/sb2-init
+++ b/utils/sb2-init
@@ -50,7 +50,7 @@ function write_target_config()
cat - > $HOME/.scratchbox2/$TARGET/sb2.config <<EOF
# Scratchbox2 configuration file generated by sb2-init.
-export SBOX_CONFIG_VERSION=3
+export SBOX_CONFIG_VERSION=4
export SBOX_TARGET_ROOT=$SBOX_TARGET_ROOT
export SBOX_CPU=$ARCH
export SBOX_GCC_TARGET=$GCC_TARGET
@@ -149,7 +149,7 @@ you can re-run this script."
fi
}
-SBOX_DIR=$(readlink -f $(dirname $_)/..)
+export SBOX_DIR=$(readlink -f $(dirname $_)/..)
REMOTEHOST=
LOCALHOST=