Subversion Repositories HelenOS

Rev

Rev 2157 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2157 Rev 2164
Line 3... Line 3...
3
# 
3
# 
4
# Download sources from repository and than run this script to correct symlinks 
4
# Download sources from repository and than run this script to correct symlinks 
5
#   to be able compile project
5
#   to be able compile project
6
 
6
 
7
 
7
 
8
if uname | grep 'cygwin' then
8
if uname | grep 'CYGWIN' > /dev/null; then
9
  echo "Good ... you have cygwin"
9
  echo "Good ... you have cygwin"
10
else
10
else
11
  echo "Wrong. This script devoted cygwin"
11
  echo "Wrong. This script is only for cygwin"
12
  exit
12
  exit
13
fi
13
fi
14
 
14
 
15
for linkName in `find . ! -iwholename '.*svn*' ! -type d -print`; do
15
for linkName in `find . ! -iwholename '.*svn*' ! -type d -print`; do
16
  if head -n 1 $linkName | grep '^link' > /dev/null; then
16
  if head -n 1 $linkName | grep '^link' > /dev/null; then