Cleanup old scripts
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
@@ -2,25 +2,9 @@
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
# source libs
|
||||
mydir=$(dirname $(realpath $0))
|
||||
|
||||
|
||||
source $mydir/detector-lib-cfg
|
||||
|
||||
# check and clone repo
|
||||
submodules=${cloner_submodules:-0}
|
||||
depth=${cloner_submodule_depth:-}
|
||||
|
||||
prepareGitAuth $CONFIG_DIR
|
||||
|
||||
# without submodule support
|
||||
if [ ! "x$submodules" = "x1" ]
|
||||
then
|
||||
mirror-main-repo $repo
|
||||
else
|
||||
mirror-recursive $repo $depth
|
||||
fi
|
||||
|
||||
# if detector is not enabled, quit quietly
|
||||
if ! detectorRunCapable
|
||||
|
||||
Reference in New Issue
Block a user