source: mainline/tools/cygwin_symlink_patch.sh@ 297f1197

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 297f1197 was 3d99f68, checked in by Martin Decky <martin@…>, 18 years ago

remove obsolete script

  • Property mode set to 100644
File size: 618 bytes
Line 
1# by Alf
2# This script solves malfunction of symlinks in cygwin
3#
4# Download sources from repository and than run this script to correct symlinks
5# to be able compile project
6
7
8if uname | grep 'CYGWIN' > /dev/null; then
9 echo "Good ... you have cygwin"
10else
11 echo "Wrong. This script is only for cygwin"
12 exit
13fi
14
15for linkName in `find . ! -iwholename '.*svn*' ! -type d -print`; do
16 if head -n 1 $linkName | grep '^link' > /dev/null; then
17 linkTarget=`head -n 1 $linkName | sed 's/^link //'`
18 echo $linkName " -->" $linkTarget
19 rm $linkName
20 ln -s "$linkTarget" "$linkName"
21 fi
22done
Note: See TracBrowser for help on using the repository browser.