Skip to content
Snippets Groups Projects
Commit 49c7a8d5 authored by Attila Krasznahorkay's avatar Attila Krasznahorkay
Browse files

Merge branch 'ZSHFixes-20170308' into 'master'

ZSH fixes (2017.03.08.)

See merge request !8
parents 29c6f8bb 3bf4a597
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ remove_duplicates() {
if [ "$x" != "" ]; then
# If it's an existing directory, get its absolute path:
if [ -d $x ] && [ -r $x ] && [ -x $x ]; then
x=($(\cd $x;\pwd))
x=$(\cd $x;\pwd)
fi
# Get the current value of the environment variable:
eval "envval=\$$envname"
......@@ -80,7 +80,7 @@ if [ "x${ENV_VAR_VALUE}" = "x" ]; then
eval "export ${ENV_VAR}=1"
# Set up the project's main directory:
export @CMAKE_PROJECT_NAME@_DIR=($(\cd ${thisdir};\pwd))
export @CMAKE_PROJECT_NAME@_DIR=$(\cd ${thisdir};\pwd)
unset thisdir
# Extract directory names relevant for the rest of the operations:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment