From fd7368a92b06618f27253ce2274dec26831b175f Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sat, 27 Nov 2021 22:17:52 +0800 Subject: Fix bootstrap --- scripts/bootstrap.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index fdc8003..9fd7d7a 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -dotfiles_dir=$(cd -- "$(dirname ${BASH_SOURCE})" > /dev/null 2>&1; pwd -P) +dotfiles_dir=$(cd -- "$(dirname ${BASH_SOURCE}/..)" > /dev/null 2>&1; pwd -P) remove_and_link () { for var in $@ @@ -59,5 +59,3 @@ arch_install () { echo 'Please remember to install GPU driver' } -main $@ - -- cgit v1.2.3