Skip to content
Snippets Groups Projects
Commit b389b02b authored by Andre Maroneze's avatar Andre Maroneze Committed by Allan Blanchard
Browse files

[configure] reset config.prefix if not set by the user

parent 686fc096
No related branches found
No related tags found
No related merge requests found
......@@ -89,6 +89,10 @@ fi
##########################################
case $prefix in
*\'*|*\"* ) AC_MSG_ERROR(quotes not allowed in --prefix argument: $prefix);;
NONE )
# no prefix: remove existing config.prefix if any
rm -f config.prefix
;;
* )
echo "FRAMAC_INSTALLDIR?=\"$prefix\"" > config.prefix
;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment