Browse code

fix missing eval

Nat! authored on 27-05-2018 15:38:29
Showing 2 changed files
... ...
@@ -1,4 +1,4 @@
1
-[ "${TRACE}" = "YES" ] && set -x  && : "$0" "$@"
1
+[ "${TRACE}" = "YES" -o "${MULLE_ENVIRONMENT_TRACE}" = "YES" ] && set -x  && : "$0" "$@"
2 2
 
3 3
 #
4 4
 # If mulle-env is broken, sometimes its nice just to source this file.
... ...
@@ -56,7 +56,7 @@ case "${MULLE_SHELL_MODE}" in
56 56
 
57 57
    *)
58 58
       set -a ; mulle-env-reload     # export all definitions for command
59
-      ${COMMAND}
59
+      eval ${COMMAND}  # must eval this so ls -1  works
60 60
       exit $?
61 61
    ;;
62 62
 esac
... ...
@@ -1,6 +1,6 @@
1 1
 ### 1.0.3
2 2
 
3
-* Various small improvements
3
+* fix environment.sh
4 4
 
5 5
 ### 1.0.2
6 6