Sha256: ae167408217b74f51fb0503005b4e9e21c9ecfa48c22dc8e8c0ebe330e4c7dc7

Contents?: true

Size: 319 Bytes

Versions: 8

Compression:

Stored size: 319 Bytes

Contents

#!/bin/bash
name=$1

if [ -z $name  ] ; then
 echo "usage: $0 appname [env]"
 exit 1;
fi
proj_owner=www-data
svn_path=/var/svn/$name/
function create_svn {
  echo "CREATING SVN"
  svnadmin create $svn_path
  chown -R $proj_owner.www-data $svn_path

  echo "svn co svn+ssh://root@$(hostname -f)$svn_path" 
}

create_svn

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
citrin-0.0.7 commands/create_svn
citrin-0.0.6 commands/create_svn
citrin-0.0.5 commands/create_svn
citrin-0.0.4 commands/create_svn
citrin-0.0.3 commands/create_svn
citrin-0.0.2 commands/create_svn
citrin-0.0.1 commands/create_svn
citrin-0.0.0 commands/create_svn