Skip to content

Commit

Permalink
'ln' flags differ from Mac's
Browse files Browse the repository at this point in the history
  • Loading branch information
jngbng committed Nov 5, 2013
1 parent 7f6a4b3 commit ec1d128
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion make_symlink.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
#!/bin/bash


if [ $(uname) == "Darwin" ];
then
FLAGS=-sih
else
FLAGS=-siT
fi

for file in .[^.]*;
do
ln -sih $(pwd)/$file ~/$file;
ln ${FLAGS} $(pwd)/$file ~/$file;
done

0 comments on commit ec1d128

Please sign in to comment.