From d92cba294f11171093a5e3d7366bbcf19a500bee Mon Sep 17 00:00:00 2001 From: Toerd Date: Sat, 15 Sep 2018 22:51:37 +0200 Subject: [PATCH] Fixed bugs --- fresh.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fresh.sh b/fresh.sh index 37e46ca..3720e93 100755 --- a/fresh.sh +++ b/fresh.sh @@ -13,12 +13,12 @@ do case $opt in esac done +scriptdir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) device=${device:="480"} repo=${repo:="https://toerd@bitbucket.org/toerd/dotfiles"} -prog=${prog:="$HOME/install/pack.list"} +prog=${prog:="$scriptdir/pack.list"} aurhelper=${aurhelper:="yay"} -logfile=${logfile:="$HOME/install/install.log"} -scriptdir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) +logfile=${logfile:="$scriptdir/install.log"} if [ -z ${v+x} ]; then logfile="/dev/null"