From c5bcb096379948fb027205a9f9e0e27ba3c49c56 Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Sat, 29 Sep 2018 06:04:21 +0200 Subject: make pathname more precise --- .gitignore | 70 +++++++++++++++++++++++++++---------------------------- bin/genSkelTar.sh | 4 ++-- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/.gitignore b/.gitignore index 7e2b0ad..8388661 100644 --- a/.gitignore +++ b/.gitignore @@ -1,37 +1,37 @@ -gen/ -www/skel.tar.gz +/gen/ +/www/skel.tar.gz # autogenerated on 2018-09-29 -home/.vim/autoload/Pl/Colorscheme.vim -home/.vim/autoload/Pl/Hi.vim -home/.vim/autoload/Pl/Match.vim -home/.vim/autoload/Pl/Mod.vim -home/.vim/autoload/Pl/Parser.vim -home/.vim/autoload/Pl/Segment.vim -home/.vim/autoload/Pl/Theme.vim -home/.vim/autoload/Pl.vim -home/.vim/autoload/Powerline/Colorschemes/default.vim -home/.vim/autoload/Powerline/Colorschemes/solarized16.vim -home/.vim/autoload/Powerline/Colorschemes/solarized256.vim -home/.vim/autoload/Powerline/Colorschemes/solarized.vim -home/.vim/autoload/Powerline/Functions/ft_man.vim -home/.vim/autoload/Powerline/Functions/fugitive.vim -home/.vim/autoload/Powerline/Functions/hgrev.vim -home/.vim/autoload/Powerline/Functions/syntastic.vim -home/.vim/autoload/Powerline/Functions.vim -home/.vim/autoload/Powerline/Matches.vim -home/.vim/autoload/Powerline/Segments/ctrlp.vim -home/.vim/autoload/Powerline/Segments/ft_man.vim -home/.vim/autoload/Powerline/Segments/fugitive.vim -home/.vim/autoload/Powerline/Segments/hgrev.vim -home/.vim/autoload/Powerline/Segments/rvm.vim -home/.vim/autoload/Powerline/Segments/syntastic.vim -home/.vim/autoload/Powerline/Segments/tagbar.vim -home/.vim/autoload/Powerline/Segments.vim -home/.vim/autoload/Powerline/Segments/virtualenv.vim -home/.vim/autoload/Powerline/Themes/default.vim -home/.vim/autoload/Powerline/Themes/solarized16.vim -home/.vim/autoload/Powerline/Themes/solarized256.vim -home/.vim/doc/Powerline.txt -home/.vim/plugin/Powerline.vim -home/.XCompose +/home/.vim/autoload/Pl/Colorscheme.vim +/home/.vim/autoload/Pl/Hi.vim +/home/.vim/autoload/Pl/Match.vim +/home/.vim/autoload/Pl/Mod.vim +/home/.vim/autoload/Pl/Parser.vim +/home/.vim/autoload/Pl/Segment.vim +/home/.vim/autoload/Pl/Theme.vim +/home/.vim/autoload/Pl.vim +/home/.vim/autoload/Powerline/Colorschemes/default.vim +/home/.vim/autoload/Powerline/Colorschemes/solarized16.vim +/home/.vim/autoload/Powerline/Colorschemes/solarized256.vim +/home/.vim/autoload/Powerline/Colorschemes/solarized.vim +/home/.vim/autoload/Powerline/Functions/ft_man.vim +/home/.vim/autoload/Powerline/Functions/fugitive.vim +/home/.vim/autoload/Powerline/Functions/hgrev.vim +/home/.vim/autoload/Powerline/Functions/syntastic.vim +/home/.vim/autoload/Powerline/Functions.vim +/home/.vim/autoload/Powerline/Matches.vim +/home/.vim/autoload/Powerline/Segments/ctrlp.vim +/home/.vim/autoload/Powerline/Segments/ft_man.vim +/home/.vim/autoload/Powerline/Segments/fugitive.vim +/home/.vim/autoload/Powerline/Segments/hgrev.vim +/home/.vim/autoload/Powerline/Segments/rvm.vim +/home/.vim/autoload/Powerline/Segments/syntastic.vim +/home/.vim/autoload/Powerline/Segments/tagbar.vim +/home/.vim/autoload/Powerline/Segments.vim +/home/.vim/autoload/Powerline/Segments/virtualenv.vim +/home/.vim/autoload/Powerline/Themes/default.vim +/home/.vim/autoload/Powerline/Themes/solarized16.vim +/home/.vim/autoload/Powerline/Themes/solarized256.vim +/home/.vim/doc/Powerline.txt +/home/.vim/plugin/Powerline.vim +/home/.XCompose diff --git a/bin/genSkelTar.sh b/bin/genSkelTar.sh index caa1326..8624e8f 100755 --- a/bin/genSkelTar.sh +++ b/bin/genSkelTar.sh @@ -26,8 +26,8 @@ for file in `find src -maxdepth 1 -type f -executable | sort`; do find gen -type f | sort | while read gen_file ; do home_file=`echo $gen_file | sed 's/^gen/home/'` cp .gitignore .gitignore.old - cat .gitignore.old | grep -Fv "$home_file" > .gitignore - echo "$home_file" >> .gitignore + cat .gitignore.old | grep -Fv "/$home_file" > .gitignore + echo "/$home_file" >> .gitignore mkdir -p `dirname "$home_file"` cp "$gen_file" "$home_file" rm -f .gitignore.old -- cgit v1.2.3