aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-09-30 23:02:27 +0200
committerMattias Andrée <maandree@operamail.com>2013-09-30 23:02:27 +0200
commit86f405681f316316deaaaff4a9f50dba825903e6 (patch)
tree1193758ed92d088fc6f9f8c14ffd23f722c1b8fc
parentcleanup (diff)
downloadgates-of-tartaros-86f405681f316316deaaaff4a9f50dba825903e6.tar.gz
gates-of-tartaros-86f405681f316316deaaaff4a9f50dba825903e6.tar.bz2
gates-of-tartaros-86f405681f316316deaaaff4a9f50dba825903e6.tar.xz
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rwxr-xr-xgot10
1 files changed, 5 insertions, 5 deletions
diff --git a/got b/got
index 990d6b7..bc5a7da 100755
--- a/got
+++ b/got
@@ -27,7 +27,7 @@ export "$@"
exec 0<&-
exec 1<&-
exec 2<&-
-exec 0<>"@dev@${tty}"
+exec 0<>"@dev@/${tty}"
exec 1>&0
exec 2>&0
@@ -73,11 +73,11 @@ function _login
# Load OS information and extensions
NAME="$(uname -o)"
ANSI_COLOR='01;34' # must be exactly ANSI_COLOR as it is defined in /etc/os-release
-if [ -f "@etc@os-release" ]; then
- . "@etc@os-release"
+if [ -f "@etc@/os-release" ]; then
+ . "@etc@/os-release"
fi
-if [ -f "@etc@@command@rc" ]; then
- . "@etc@@command@rc"
+if [ -f "@etc@/@command@rc" ]; then
+ . "@etc@/@command@rc"
fi
# Let the user log in