aboutsummaryrefslogtreecommitdiffstats
path: root/got
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-09-30 02:01:09 +0200
committerMattias Andrée <maandree@operamail.com>2013-09-30 02:01:09 +0200
commit29c621147821dc7eb0ff032ed413e383d5101148 (patch)
tree6cf88cba37b2a26a3fe60e7fa03a6abe3ca059ef /got
parentwhoops seconds, not milliseconds (diff)
downloadgates-of-tartaros-29c621147821dc7eb0ff032ed413e383d5101148.tar.gz
gates-of-tartaros-29c621147821dc7eb0ff032ed413e383d5101148.tar.bz2
gates-of-tartaros-29c621147821dc7eb0ff032ed413e383d5101148.tar.xz
add makefile
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'got')
-rwxr-xr-xgot10
1 files changed, 5 insertions, 5 deletions
diff --git a/got b/got
index 65619f2..ee9dfc8 100755
--- a/got
+++ b/got
@@ -24,12 +24,12 @@ shift 1
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"p
fi
-if [ -f "/etc/gotrc" ]; then
- . "/etc/gotrc"
+if [ -f "@etc@@command@rc" ]; then
+ . "@etc@@command@rc"
else
echo -en '\e[H\e[2J'
echo -e "\e[${ANSI_COLOR}m${NAME} (${tty})\e[00m"
@@ -38,6 +38,6 @@ else
fi
tty_settings="$(stty --save)"
-"$0".py "$@" <> "/dev/${tty}" 2>&1
+@prefix@@libexec@@command@.py "$@" <> "/dev/${tty}" 2>&1
stty "${tty_settings}"