dot

packages and services management
Log | Files | Refs | README

commit 2937863b08f25a56492e3300ea89842a94ba59de
parent fd8d3f68b8d17585bb3f4c954e64fd440c00941e
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sat, 17 Mar 2018 18:58:32 +0100

fixed syntax error in configure

Diffstat:
A.mkshrc | 4++++
Mconfigure | 8++++----
2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/.mkshrc b/.mkshrc @@ -0,0 +1,4 @@ +. "$HOME/.profile" + +PS1='\[\033[31;1m\]$([ $? -gt 0 ] && printf "x\\n ")\033[m\] +\[\033]0;$PWD\a\]\h\$ ' diff --git a/configure b/configure @@ -3,7 +3,7 @@ cd "$0/.." . ./.profile -mkdir -p "$HOME/var" "$SVDIR"" +mkdir -p "$HOME/var" "$SVDIR" # symlink ~/etc/* into ~/.config/* find * -path './runit/*' -prune \ @@ -13,7 +13,7 @@ find * -path './runit/*' -prune \ # symlink ~/etc/.* into ~/.* find .* -name .git -prune -o -name . -prune -o -name .. -prune \ -o -type d -exec sh -c 'mkdir -p "$HOME/$0"' {} \; \ - -o -type f -exec sh -c 'ln -sf "$PWD/$0" "$HOME/$0" {} \; \ - -o -type l -exec sh -c 'ln -sf "$PWD/$0" "$HOME/$0" {} \; + -o -type f -exec sh -c 'ln -sf "$PWD/$0" "$HOME/$0"' {} \; \ + -o -type l -exec sh -c 'ln -sf "$PWD/$0" "$HOME/$0"' {} \; -find -L "$HOME" -maxdepth 2 -type l -exec rm {} + +find -L "$HOME" -type l -exec rm {} +