BASIS  version 1.2.3 (revision 2104)
Functions
basistest-svn.sh File Reference

Wrapper script for Subversion svn command. More...

Go to the source code of this file.

Functions

function realpath (in path)
 Get real path of given file or directory.

Detailed Description

Wrapper script for Subversion svn command.

This script is used as wrapper for the svn command to enable automated software testing at our lab. In general, anonymous access to the Subversion repositories is not permitted. Only the svnuser is allowed to do so. Hence, a wrapper script was implemented which is only readable by the svnuser where the password is hard code. Moreover, only the svnuser can execute this script. The swtest user on the other side is allowed to run this script as svnuser via sudoers list.

Copyright (c) 2011 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.

Contact: SBIA Group <sbia-software at uphs.upenn.edu>

Definition in file basistest-svn.sh.


Function Documentation

function realpath ( in  path)

Get real path of given file or directory.

Note:
This function was substituted by BASIS either for the string @BASIS_BASH_UTILITIES@ or @BASIS_BASH_FUNCTION_realpath@.

Example:

 exec_dir=`realpath $0`
Parameters:
[in]pathFile or directory path.
Returns:
Canonical path.
See also:
http://stackoverflow.com/questions/7665/how-to-resolve-symbolic-links-in-a-shell-script