diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-05 18:14:52 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-01-05 18:14:52 +0000 |
commit | 076f55f3906d1693015193cc9e1dc598dc43398a (patch) | |
tree | c9e4ea072300010bd471da8152399a989466e5e9 /crawl-ref/dolinks.sh | |
parent | e5cae7b31724c36af4f1cc8195f42e114c03492f (diff) | |
download | crawl-ref-076f55f3906d1693015193cc9e1dc598dc43398a.tar.gz crawl-ref-076f55f3906d1693015193cc9e1dc598dc43398a.zip |
Clean up dolinks.sh some more: make it check for directories, not
symlinks, as domake.sh does.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3203 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/dolinks.sh')
-rw-r--r-- | crawl-ref/dolinks.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/dolinks.sh b/crawl-ref/dolinks.sh index d327470fe6..ef159efa3f 100644 --- a/crawl-ref/dolinks.sh +++ b/crawl-ref/dolinks.sh @@ -6,13 +6,13 @@ mkdir -p WIZARD pushd NORMAL ; ln -sf ../source/rltiles . ; ln -sf ../source/util . ; ln -sf ../source/*.h ../source/*.cc ../source/makefile* . ; popd pushd WIZARD ; ln -sf ../source/rltiles . ; ln -sf ../source/util . ; ln -sf ../source/*.h ../source/*.cc ../source/makefile* . ; popd -if [ -L tiles ]; then +if [ -d tiles ]; then true else ln -sf source/rltiles tiles fi -if [ -L dat ]; then +if [ -d dat ]; then true else ln -sf source/dat dat |