Skip to content

Commit 1ebf0f1

Browse files
committed
fix bug for dir not found.
1 parent afb090d commit 1ebf0f1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

script/clean_godeps.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@
2222
# Finds all vendor directories
2323
DIR_LIST=`find . -type d -name Godeps`
2424

25-
# Remove directories used for versioning
26-
find $DIR_LIST -type d -name ".bzr" -o -name ".git" -exec rm -rf {} \;
27-
2825
## Removing all yaml files which are normally config files (travis.yml)
2926
find $DIR_LIST -type f -name "*.yml" -exec rm -r {} \;
3027

@@ -44,3 +41,5 @@ find $DIR_LIST -type f -name "*.cfg" -exec rm -r {} \;
4441
## Removing all *.bat files
4542
find $DIR_LIST -type f -name "*.bat" -exec rm -r {} \;
4643

44+
# Remove directories used for versioning
45+
find $DIR_LIST -type d -name ".bzr" -o -name ".git" -exec rm -rf {} \;

0 commit comments

Comments
 (0)