Mercurial > repo
changeset 12107:e3fd93ced862 draft
<fizzie> sled /hackenv/bin/autowelcome//s|share/|$HACKENV/share/|g
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 16 Nov 2019 22:36:44 +0000 |
parents | 204fe444dca2 |
children | 6f557e65c49f |
files | bin/autowelcome |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/autowelcome Sat Nov 16 22:35:00 2019 +0000 +++ b/bin/autowelcome Sat Nov 16 22:36:44 2019 +0000 @@ -1,1 +1,1 @@ -[ "$1" == "on" ] && echo enabled > share/autowelcome_status; [ "$1" == "off" ] && echo disabled > share/autowelcome_status; echo "Autowelcome $(cat share/autowelcome_status)." +[ "$1" == "on" ] && echo enabled > $HACKENV/share/autowelcome_status; [ "$1" == "off" ] && echo disabled > $HACKENV/share/autowelcome_status; echo "Autowelcome $(cat $HACKENV/share/autowelcome_status)."