adobe/brackets-shell — pull request #165 by peterflynn (2012-12-22 18:21:38+00:00)
Title: Avoid build script data loss on XP

@gruehle for review

make_symlinks.bat is unsafe on XP, since 'rmdir Release' ilikely to delete the entire brackets repo if 'Release' exists at all (because the only type of 'symlink' available on XP, for use with Release\dev, works that way).

Hoping this wouldn't bite anyone else anyway, but just in case... (since it definitely sucks to have it happen)

This change makes the script refuse to run on XP instead of doing the dangerous rmdir, similar to the code in setup_for_hacking.bat.