Skip to content
Snippets Groups Projects
Commit d4dd03ac authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Not all /bin/sh's supprot ${foo:-bar}, so don't use it.

parent 849647a8
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
# $Id: Config,v 1.5 1991/09/04 14:45:49 ceder Exp $ # $Id: Config,v 1.6 1991/09/08 02:14:33 ceder Exp $
x= x=
...@@ -28,13 +28,17 @@ error) false;; ...@@ -28,13 +28,17 @@ error) false;;
ln -s ../src/include/ansi/${x} include/ansi ln -s ../src/include/ansi/${x} include/ansi
cd include/ansi cd include/ansi
cat links | while read link target; do \ cat links | while read link target; do \
rm -f ${link}; \ echo ${link}; \
ln -s ../${target:-Templates}/${link} ${link}; \ rm -f ${link};
[ "" = "${target}" ] && target=Templates; \
ln -s ../${target}/${link} ${link}; \
done done
cd sys cd sys
cat links | while read link target; do \ cat links | while read link target; do \
echo ${link}; \
rm -f ${link}; \ rm -f ${link}; \
ln -s ../../${target:-Templates}/sys/${link} ${link}; \ [ "" = "${target}" ] && target=Templates; \
ln -s ../../${target}/sys/${link} ${link}; \
done;; done;;
esac esac
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment