summaryrefslogtreecommitdiffstats
path: root/godot.sh
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-05-28 18:05:59 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2010-05-28 18:05:59 +0200
commit65de1eae8eba6b411bab6d0e5f483d363d027509 (patch)
treefd12fc0236138bd0249e5d7a6f39ca3e57bcfc86 /godot.sh
parent8363d12e36d1b1448cf401d2e0e80cd1f66b0cea (diff)
downloaddotfiles-65de1eae8eba6b411bab6d0e5f483d363d027509.tar.gz
dotfiles-65de1eae8eba6b411bab6d0e5f483d363d027509.tar.xz
dotfiles-65de1eae8eba6b411bab6d0e5f483d363d027509.zip
fixed bug
Diffstat (limited to 'godot.sh')
-rwxr-xr-xgodot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/godot.sh b/godot.sh
index 39b8eb4..c935442 100755
--- a/godot.sh
+++ b/godot.sh
@@ -16,7 +16,7 @@ pushd $HOME >/dev/null
# create new symlinks as specified in dotfiles mapping file:
grep -v "^#\|^$" "${TARGET}/symlink-mapping" | \
- grep "[^ \t]\+ -> [^ \t]\+" | \
+ grep "[^ ]\+ -> [^ ]\+" | \
awk -F " -> " '{ print $1 ; print "'$TARGET'/"$2; }' | \
while read target ; read source ; do
if [[ -e "${target}" && ! -f "${target}" && ! -L "${target}" ]]; then