From d497bc65618e9d1646b366ed9309497b51833802 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 31 Mar 2008 15:00:42 +0000 Subject: [PATCH] give an error message when ran from a wrong location instead of just saying that config.status is not found git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- regen | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/regen b/regen index 76f388cb4a..558c0e9bfc 100755 --- a/regen +++ b/regen @@ -12,6 +12,11 @@ if test "x$1" = "x"; then exit 1 fi +if [ ! -x ./config.status ]; then + echo "Must be run from the top level wxWidgets build directory" >&2 + exit 1 +fi + CONFIG_FILES=$* CONFIG_HEADERS= export CONFIG_FILES CONFIG_HEADERS -- 2.45.2