aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 $@
-