mirror of https://github.com/KLayout/klayout.git
Update method of getting absolute paths to error out if they do not exist
This commit is contained in:
parent
63f532a5bf
commit
a89a9b610a
4
build.sh
4
build.sh
|
|
@ -597,8 +597,8 @@ mkdir -p $BUILD
|
|||
# qmake needs absolute paths, so we get them now:
|
||||
# OSX does not have `readlink -f` command. Use equivalent Perl script.
|
||||
if [ "$IS_MAC" = "no" ]; then
|
||||
BUILD=`readlink -f $BUILD`
|
||||
BIN=`readlink -f $BIN`
|
||||
BUILD=`realpath --canonicalize-existing $BUILD`
|
||||
BIN=`realpath --canonicalize-existing $BIN`
|
||||
else
|
||||
BUILD=`perl -MCwd -le 'print Cwd::abs_path(shift)' $BUILD`
|
||||
BIN=`perl -MCwd -le 'print Cwd::abs_path(shift)' $BIN`
|
||||
|
|
|
|||
Loading…
Reference in New Issue