]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
It's nice to be able to run mkauto.sh from inside the unix subdir as
authorSimon Tatham <anakin@pobox.com>
Wed, 2 Apr 2008 17:09:53 +0000 (17:09 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 2 Apr 2008 17:09:53 +0000 (17:09 +0000)
well as from outside.

[originally from svn r7963]

mkauto.sh

index cdee6221ff459f1791d18e439c0f56b8cbd6ebc4..5e394f8db139accc5681ff4b45d9c205adc5a0b3 100755 (executable)
--- a/mkauto.sh
+++ b/mkauto.sh
@@ -3,6 +3,10 @@
 # It's separate from mkfiles.pl because it won't work (and isn't needed)
 # on a non-Unix system.
 
+# It's nice to be able to run this from inside the unix subdir as
+# well as from outside.
+test -f unix.h && cd ..
+
 # Track down automake's copy of install-sh
 cp `aclocal --print-ac-dir | sed 's/aclocal$/automake/'`/install-sh unix/.
 (cd unix && autoreconf  && rm -rf aclocal.m4 autom4te.cache)