diff options
Diffstat (limited to 'scripts/live-functions')
| -rw-r--r-- | scripts/live-functions | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/scripts/live-functions b/scripts/live-functions index d19b0d5..8bf9c38 100644 --- a/scripts/live-functions +++ b/scripts/live-functions @@ -21,7 +21,7 @@ really_export ()  	STRING="${1}"  	VALUE="$(eval echo -n \${$STRING})" -	if [ -f /live.vars ] && cat /live.vars | grep -sq "export ${STRING}" +	if [ -f /live.vars ] && grep -sq "export ${STRING}" /live.vars  	then  		sed -i -e 's/\('${STRING}'=\).*$/\1'${VALUE}'/' /live.vars  	else | 
