From 65de1eae8eba6b411bab6d0e5f483d363d027509 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 28 May 2010 18:05:59 +0200 Subject: fixed bug --- godot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'godot.sh') 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 -- cgit v1.2.3