(install_file): Use os.sep instead of '/' as the trailing slash in the
"created" stdout line.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1564 8cb11bc2-c004-0410-86c3-e597b4017df7
(install_file): Test e.errno instead of e[0], because on Windows, a
Windows-specific subclass of OSError (WindowsError) is raised, and the
first item of its tuple representation is the Windows-specific
error code. But e.errno seems always to hold the OS-independent
error value.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1561 8cb11bc2-c004-0410-86c3-e597b4017df7
of requiring that you run it while sitting in its containing directory).
* viewvc-install
(_actual_src_path): New helper function.
(replace_file): Move this functionality into...
(install_file): ...here. Also, normalize some variable names for
consistency with...
(install_tree): ...this.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1488 8cb11bc2-c004-0410-86c3-e597b4017df7
(install_file, install_tree): Replace '/' with the OS-specific
directory separator character in the destination path before processing.
This is follow-up to r1458.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1483 8cb11bc2-c004-0410-86c3-e597b4017df7
(install_file, install_tree): Replace '/' with the OS-specific
directory separator character in src_path before processing.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1458 8cb11bc2-c004-0410-86c3-e597b4017df7
Complete rework this script for uniform code formatting, more readable
output, support for a fully non-interactive install mode, installation
of the unmodified configuration files (so folks can see their customizations
well after they make them), and any other cleanups I could get my hands on.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1394 8cb11bc2-c004-0410-86c3-e597b4017df7
* viewvc-install: Move introductory info printing after argument passing, so
that it is not shown if there is an argument parsing error.
Catch GetoptError, and report nicely.
Do not pass None to getopt where it wants a string.
git-svn-id: http://viewvc.tigris.org/svn/viewvc/trunk@1293 8cb11bc2-c004-0410-86c3-e597b4017df7