Skip to content
Snippets Groups Projects
Commit 53392d5a authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

ENH: improve wmake handling of directory when given a source file

parent 6a7954fd
Branches
Tags
No related merge requests found
......@@ -268,6 +268,10 @@ then
then
dir="${1%/*}"
: "${dir:=.}"
if [ "$dir" = "$1" ]
then
dir="."
fi
else
echo "$Script error: not a file or directory" 1>&2
exit 1
......@@ -299,6 +303,10 @@ else
then
dir="${1%/*}"
: "${dir:=.}"
if [ "$dir" = "$1" ]
then
dir="."
fi
else
targetType="$1"
fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment