In a command like:
mv $SOURCE $TARGET
the two arguments must be doublely quoted:
mv "$SOURCE" "$TARGET"
That way, if $SOURCE is, for ex., "my file", it avoid the shell to call a
command like that:
mv my file "$TARGET"
which is moving *two* files "my" and "file" to "$TARGET". With the
double-quotes, after the parameters substitution, the call is correct, with
only two arguments:
mv "my file" "target"
several monthes). Those modifications should not bother other cgal testers.
Details:
- New flag "-n", to build internal releases without launching the
testsuite.
- Read "$HOME/.autocgal_with_cmake_rc" if it exists, instead of
"$HOME/.autocgalrc" (which is only read it the previous one does not
exist.
- Call cmake in verbose mode.
- Add quotes ("...") where needed (that is almost everywhere). That allows
filenames/dirnames with characteres that are special for the shell (such as
spaces).
- Change of the portion of shell code that modifies the occurences to
CGAL-3.x-I-xxx in CMakeCache.txt. I no longer understand the regexpr but I
know that it works (at least on cgal.geometryfactory.com).
- Move the section named "START OF MAIN BODY" to the real main body (after
all function definitions).
- That's all.