summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2017-06-20 17:02:06 +0200
committerPatrick Simianer <p@simianer.de>2017-06-20 17:02:06 +0200
commit461ba78442c1adeabe01059a57e36b429beffc71 (patch)
treeaef3668de1ce6b400c0a528e3aec7aecd3321c4b /setup.sh
parent8d951f7cd852e39f79c91af2871f9bc1388d41a3 (diff)
fix
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.sh b/setup.sh
index 75a0365..3f42a2a 100755
--- a/setup.sh
+++ b/setup.sh
@@ -2,7 +2,7 @@
symlink ()
{
- for i in `find . -type d -depth 1 | grep -v .git | sed "s|./||" | grep -v by_host`; do
+ for i in `find . -maxdepth 1 -type d | grep -v .git | sed "s|./||" | grep -v by_os | grep -v "^\.$"`; do
stow -t $HOME $i
done
}
@@ -30,7 +30,7 @@ if [[ $(uname) == "Linux" ]]; then
fi
symlink
-cd by_host/$(uname); symlink
+cd by_os/$(uname); symlink
git submodule update --init --recursive
if [[ $(uname) == "Linux" ]]; then