From d04533877bff374348dfdce9d9f09e3d14d40722 Mon Sep 17 00:00:00 2001 From: Sameer Rahmani Date: Wed, 19 Mar 2014 16:41:22 +0330 Subject: [PATCH] share path bug fixed --- .gitignore | 2 +- scripts/install_files.sh | 2 +- scripts/make_files.sh | 8 ++------ 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index d191341..9befb8c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -./kuso.config.el +kuso.config.el kuso.d/* .build/* *~ diff --git a/scripts/install_files.sh b/scripts/install_files.sh index 93a5caf..6257178 100644 --- a/scripts/install_files.sh +++ b/scripts/install_files.sh @@ -16,6 +16,6 @@ function do_install() { info "Install files in /usr/local/share" info "If you are not a sudoer just copy ./.build/share to /usr/local/share manually" info "and create a link to ./kuso in your /usr/local/bin/kuso" - sudo cp .build/share /usr/local -rv + sudo cp .build/share /usr/local/ -rv sudo ln -f -s `pwd`/kuso /usr/local/bin/kuso } diff --git a/scripts/make_files.sh b/scripts/make_files.sh index ee2cc3e..d68d27c 100644 --- a/scripts/make_files.sh +++ b/scripts/make_files.sh @@ -14,15 +14,11 @@ function pre_make() { rm `find kuso.d -iname "*.elc"` 2> /dev/null - if [ -a "`pwd`/.build" ] - then - rm "`pwd`/.build -rf" 2> /dev/null - fi - + rm .build -rf rm ./kuso.config.el 2> /dev/null mkdir -p `pwd`/.build/ - cp ./share/ .build/share -r + cp ./share/ .build/ -r cp ./conf/ .build/ -r }