Skip to content
Permalink
0cf5e9f166
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 15 lines (15 sloc) 428 Bytes
#!/usr/bin/env bash
git clone git@github.internet2.edu:docker/util.git
find util/bin -name "*.sh" -exec sh -c 'echo "$1" | sed "s/util\///" >> .gitignore' -- {} \;
mkdir -p bin
mkdir -p tests
mv util/tests/* tests/.
mv util/bin/* bin/.
mv util/README.md BINSCRIPTS.md
if [ ! -f common.bash ]; then
mv util/common.bash.sample common.bash
fi
if [ ! -f Jenkinsfile ]; then
mv util/Jenkinsfile.sample Jenkinsfile
fi
rm -rf util