Revision 10832,
359 bytes
checked in by brlewis, 27 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r10831,
which included commits to RCS files with non-trunk default branches.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[10831] | 1 | #!/bin/sh |
---|
| 2 | # call from the source root as 'mklinks ../sun4 ../src' |
---|
| 3 | find . -type d -print | sort | sed -e "s#^\.#mkdir $1#" | sh |
---|
| 4 | root=`echo $2 | sed -e "s#^\.\./##"` |
---|
| 5 | find . ! -type d -a ! -name Config -print | sed -e "s#^\./##" | while read file |
---|
| 6 | do |
---|
| 7 | down="`echo $file | sed -e 's#[^/]*/#../#g' -e 's#[^/]*$#..#'`" |
---|
| 8 | ln -s "$down/$root/$file" "$1/$file" |
---|
| 9 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.