aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-13 16:44:03 -0300
committerEuAndreh <eu@euandre.org>2019-06-13 16:44:03 -0300
commitce6076af861774222589e7f02b3610d6b501301b (patch)
tree86b9b93b8d956613c9f79b5fdf600f765fb42aa5
parentconfiguration.nix: Format with nixfmt (diff)
downloaddotfiles-ce6076af861774222589e7f02b3610d6b501301b.tar.gz
dotfiles-ce6076af861774222589e7f02b3610d6b501301b.tar.xz
Remove =cd= from sourced env.sh
-rw-r--r--docs/env.sh1
-rw-r--r--templates/env.sh1
2 files changed, 0 insertions, 2 deletions
diff --git a/docs/env.sh b/docs/env.sh
index 67259d01..ee71c37c 100644
--- a/docs/env.sh
+++ b/docs/env.sh
@@ -1,6 +1,5 @@
#!/usr/bin/env bash
set -Eeuo pipefail
-cd "$(dirname "${BASH_SOURCE[0]}")"
export SERVER_URL=root@euandre.org
export DOCS_SERVER_PATH="/home/user-data/www/default/dotfiles/"
diff --git a/templates/env.sh b/templates/env.sh
index 3007d899..0f7848af 100644
--- a/templates/env.sh
+++ b/templates/env.sh
@@ -1,6 +1,5 @@
#!/usr/bin/env bash
set -Eeuo pipefail
-cd "$(dirname "${BASH_SOURCE[0]}")"
export SERVER_URL=root@euandre.org
export DOCS_SERVER_PATH="/home/user-data/www/default/$REPO/"