Skip to content
Snippets Groups Projects
Commit 65cf0d74 authored by Sam Gleske's avatar Sam Gleske
Browse files

fix source update_mirror

parent 3f585f02
No related branches found
No related tags found
No related merge requests found
......@@ -10,9 +10,13 @@ set -e
#Include all user options and dependencies
git_mirrors_dir="${0%/*}"
. "${git_mirrors_dir}/config.sh"
[ -f "${git_mirrors_dir}/config.sh" ] && . "${git_mirrors_dir}/config.sh"
. "${git_mirrors_dir}/lib/VERSION"
. "${git_mirrors_dir}/lib/functions.sh"
if [ ! -f "${git_mirrors_dir}/config.sh" ];then
red_echo "config.sh missing! Copy and customize from config.sh.SAMPLE. Aborting." 1>&2
exit 1
fi
cd "${git_mirrors_dir}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment