Commit 45881f17 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #60 from amacarthur/fix-rewrite-hooks

added optional argument so to override default repo location
parents f6e74dee 0d51c4f3
#!/bin/bash
# $1 is an optional argument specifying the location of the repositories directory.
# Defaults to /home/git/repositories if not provided
home_dir="/home/git"
src="$home_dir/repositories"
src=${1:-"$home_dir/repositories"}
for dir in `ls "$src/"`
do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment