[Lunar-commits] <lunar> Merge pull request #33 from v4hn/lsh-eval

Auke Kok sofar+github at foo-projects.org
Mon Nov 26 23:39:48 CET 2012


commit af487b9da8ff68b207ed2b5370e3c3f15718640a
Author: Auke Kok <sofar+github at foo-projects.org>
Date: Mon, 26 Nov 2012 14:39:48 -0800
URL: https://github.com/lunar-linux/lunar/commit/af487b9da8ff68b207ed2b5370e3c3f15718640a

Merge pull request #33 from v4hn/lsh-eval

lsh: make sure we actually _evaluate_ the command line
---
  prog/lsh | +1/-1     
  1 file changed

--- a/prog/lsh
+++ b/prog/lsh
@@ -10,7 +10,7 @@
 set_priority
 
 if (( $# > 0 )) ; then
-  $@
+  eval "$@"
 else
   export PS1="\[\033[0;31m\][lunar] \u@\h \w \\$ \[\033[0m\]"
   message "\n    ${PROBLEM_COLOR}Warning:${DEFAULT_COLOR}${MESSAGE_COLOR}" \




More information about the Lunar-commits mailing list