From 38bc15d80adbb9c58a5ff22e04c4a93232968f4e Mon Sep 17 00:00:00 2001 From: Someone Date: Thu, 10 Dec 2015 23:01:03 +0100 Subject: [PATCH] setup.sh now creates symlinks in . --- setup.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup.sh b/setup.sh index 0b63068..5fd30f7 100755 --- a/setup.sh +++ b/setup.sh @@ -15,13 +15,13 @@ # along with this program. If not, see . # +export SCRIPT_HOME="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -SLEEPTIME=10 -echo "Will symlink all githelper-scripts to ../ in ${SLEEPTIME} sec." +SLEEPTIME=5 +echo "Will symlink all githelper-scripts to $(pwd) in ${SLEEPTIME} sec." sleep $SLEEPTIME -cd .. -ln -s githelper/gpullAll.sh gpullAll.sh -ln -s githelper/ggcAll.sh ggcAll.sh -ln -s githelper/gresetAll.sh gresetAll.sh +ln -snf "${SCRIPT_HOME}/gpullAll.sh" gpullAll.sh +ln -snf "${SCRIPT_HOME}/ggcAll.sh" ggcAll.sh +ln -snf "${SCRIPT_HOME}/gresetAll.sh" gresetAll.sh -- 2.43.0