From 5375bb5b86e266157ceceef08c367da711b8144e Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Sat, 1 Jun 2013 01:04:32 +0200 Subject: Cleanup, WIP, needs a NuttX checkout to Firmware/NuttX now --- nuttx/tools/unlink.bat | 71 -------------------------------------------------- 1 file changed, 71 deletions(-) delete mode 100755 nuttx/tools/unlink.bat (limited to 'nuttx/tools/unlink.bat') diff --git a/nuttx/tools/unlink.bat b/nuttx/tools/unlink.bat deleted file mode 100755 index 25e83bb9f..000000000 --- a/nuttx/tools/unlink.bat +++ /dev/null @@ -1,71 +0,0 @@ -@echo off - -rem tools/unlink.bat -rem -rem Copyright (C) 2012 Gregory Nutt. All rights reserved. -rem Author: Gregory Nutt -rem -rem Redistribution and use in source and binary forms, with or without -rem modification, are permitted provided that the following conditions -rem are met: -rem -rem 1. Redistributions of source code must retain the above copyright -rem notice, this list of conditions and the following disclaimer. -rem 2. Redistributions in binary form must reproduce the above copyright -rem notice, this list of conditions and the following disclaimer in -rem the documentation and/or other materials provided with the -rem distribution. -rem 3. Neither the name NuttX nor the names of its contributors may be -rem used to endorse or promote products derived from this software -rem without specific prior written permission. -rem -rem THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -rem "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -rem LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -rem FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -rem COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -rem INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -rem BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS -rem OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED -rem AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -rem LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -rem ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -rem POSSIBILITY OF SUCH DAMAGE. -rem - -rem Verify that arguments were provided - -set link=%1 -if "%link%"=="" goto :MissingArgument - -rem Check if something already exists at the link path - -if exist "%link%" goto :LinkExists - -echo %link% does not exist -goto :ShowUsage - -rem %link% make be a symbolic link or it may be a copied director (with -rem a .fakelnk file in it). It really does not matter which: We do the -rem same thing in either case - -:LinkExists - -rmdir /q /s %link% -if errorlevel 1 ( - echo Failed to remove existing object at %link% - goto :ShowUsage -) - -goto :End - -:MissingArgument - -echo Missing Argument - -:ShowUsage -echo USAGE: %0 ^ -echo Where: -echo ^ is the linked (or copied) directory to be removed - -:End -- cgit v1.2.3