Skip to content

Commit

Permalink
Update cmake/install/post/generate-adios2-config.sh.in
Browse files Browse the repository at this point in the history
  • Loading branch information
vicentebolea committed Oct 17, 2023
1 parent da292fc commit fc9394f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/install/post/generate-adios2-config.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ then
PREFIX="${DESTDIR:-$(pwd)}/$1"
else
# check if the PREFIX directory exists and prepend DESTDIR if not
if [ ! -d ${PREFIX} ]; then
if [ ! -d "${PREFIX}" ]
then
PREFIX="${DESTDIR}$1"
fi
fi
Expand Down

0 comments on commit fc9394f

Please sign in to comment.