move old files to old directory
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
14
old/src/config
Normal file
14
old/src/config
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Default values
|
||||
defaultMirrorPath=$HOME/.git-mirror
|
||||
defaultCachePath=$HOME/.git-mirror-cache
|
||||
|
||||
# Config ones - replaced with environment vars
|
||||
cfgMirrorPath=${CCLONE_PATH:-$defaultMirrorPath}
|
||||
cfgCachePath=${CCLONE_CACHE:-$defaultCachePath}
|
||||
|
||||
# modify PATH
|
||||
bindir=$(dirname $(realpath $0))
|
||||
PATH=$bindir:$PATH
|
||||
|
||||
Reference in New Issue
Block a user