Skip to content

Commit

Permalink
expanding ~ II
Browse files Browse the repository at this point in the history
  • Loading branch information
Iximiel committed Aug 30, 2024
1 parent 718f228 commit 10fe50f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion install-plumed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ if [[ -n "$SUFFIX" ]]; then
fi

#just to be sure
prefix=$(realpath "${PREFIX-~/opt}")
prefix=${PREFIX-~/opt}
mkdir -p "$prefix"
prefix=$(realpath "$prefix")
if [[ -n "$PREFIX" ]]; then
plumed_options="$plumed_options --prefix=\"$prefix\""
fi
Expand Down

0 comments on commit 10fe50f

Please sign in to comment.