summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schwinge <schwinge@nic-nac-project.de>2007-11-16 12:57:02 -0500
committerThomas Schwinge <schwinge@nic-nac-project.de>2007-11-16 12:57:02 -0500
commit225d5ee7d49ce4b4dc9a6ae55b3a204d70060a6b (patch)
tree839dd7e499f6b0c77bfcea91e548063dd6cb2a09
parent307268c0830c8f395ab8b5832033923ae57514f8 (diff)
Don't source `cross-gnu-env'.
-rwxr-xr-xcross-gnu16
1 files changed, 11 insertions, 5 deletions
diff --git a/cross-gnu b/cross-gnu
index ea4d4426b..ca9c89d30 100755
--- a/cross-gnu
+++ b/cross-gnu
@@ -18,11 +18,17 @@
# look at these issues and send the outcome back to me.
-# Set up the environment.
-
-. cross-gnu-env
-
-case $? in 0) :;; *) (exit "$?");; esac &&
+# Check for `cross-gnu-env' having been ran.
+
+if [ x"${CROSS_GNU_REINSTALL_GLIBC-not_set}" = xnot_set ]; then
+ cat >&2 <<"EOT" &&
+Please see <http://www.bddebian.com/~wiki/hurd/building/cross-compiling/> about
+how to use this shell script.
+EOT
+ exit 100
+EOF
+else :
+fi &&
# Be verbose.