aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2021-11-27 22:17:52 +0800
committerGuangxiong Lin <[email protected]>2021-11-27 22:17:52 +0800
commitfd7368a92b06618f27253ce2274dec26831b175f (patch)
tree134ad3972cc013124b7ba4334166c21c5b08e78a
parent49a05858d46dd4aa4f062b220fc0561aa5640a37 (diff)
downloaddotfiles-fd7368a92b06618f27253ce2274dec26831b175f.tar.gz
dotfiles-fd7368a92b06618f27253ce2274dec26831b175f.tar.bz2
dotfiles-fd7368a92b06618f27253ce2274dec26831b175f.zip
Fix bootstrap
-rwxr-xr-xscripts/bootstrap.sh4
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 $@
-