diff options
author | Guangxiong Lin <[email protected]> | 2021-11-27 22:17:52 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-11-27 22:17:52 +0800 |
commit | fd7368a92b06618f27253ce2274dec26831b175f (patch) | |
tree | 134ad3972cc013124b7ba4334166c21c5b08e78a /scripts/bootstrap.sh | |
parent | 49a05858d46dd4aa4f062b220fc0561aa5640a37 (diff) | |
download | dotfiles-fd7368a92b06618f27253ce2274dec26831b175f.tar.gz dotfiles-fd7368a92b06618f27253ce2274dec26831b175f.tar.bz2 dotfiles-fd7368a92b06618f27253ce2274dec26831b175f.zip |
Fix bootstrap
Diffstat (limited to 'scripts/bootstrap.sh')
-rwxr-xr-x | scripts/bootstrap.sh | 4 |
1 files changed, 1 insertions, 3 deletions
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 $@ - |