mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
win32/configure.bat: check directory
* win32/configure.bat: bail out if run in win32 directory. [ruby-core:63648] [Bug #10027] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2822bd29e2
commit
8a29da3b76
1 changed files with 5 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
|||
@setlocal disabledelayedexpansion
|
||||
set witharg=
|
||||
|
||||
for %%I in (%0) do if /%%~dpI/ == /%CD%\/ (
|
||||
echo don't run in win32 directory.
|
||||
exit /b 999
|
||||
)
|
||||
|
||||
echo> ~tmp~.mak ####
|
||||
echo>> ~tmp~.mak conf = %0
|
||||
echo>> ~tmp~.mak $(conf): nul
|
||||
|
|
Loading…
Reference in a new issue