[rt18107] Deploy from git
Pull files from a remote repo. Figure out where they are on the
server. Display the deployfile.sh command that could be executed.
Needs some more work and lots of testing. Eventually it will execute the deployfile.sh
command without the use of a switch.
Working with tmp dir and real filename
Had to change the temp file to use the real file name of the file being
pushed otherwise deployfile.sh would not work properly.
Should we clean up the temp files? I am hesitant to put any rm commands
into a script.
Modifed to work with pathmap.ini and access_pathmap.pl
This script now derives the host directories to deploy to via
pathmap.ini. As well, I put in some safe guards to prevent deploying to
production while the script is in testing.
Added ability to specify location of git repo
Added the ability to specify the location of the git repo. It defaults
to the current directory. This allows users to run git-deploy.sh from a
central directory or from the PATH. This script does assume that
access_pathmap.pl is in the user's PATH.