Skip to content

Commit

Permalink
Fix DESTDIR installation
Browse files Browse the repository at this point in the history
  • Loading branch information
lahwaacz committed Nov 17, 2024
1 parent 64218a2 commit 46085ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/install/post/generate-adios2-config.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ then
# Convert relative paths to absolute based on DESTDIR
PREFIX="${DESTDIR:-$(pwd)}/$1"
else
# check if the PREFIX directory exists and prepend DESTDIR if not
if [ ! -d "${PREFIX}" ]
# Check if the DESTDIR directory exists and prepend it to PREFIX
if [ -d "${DESTDIR}" ]
then
PREFIX="${DESTDIR}$1"
fi
Expand Down

0 comments on commit 46085ad

Please sign in to comment.