Skip to content

Commit e7d6fbc

Browse files
committed
fix clear script
1 parent bf062b8 commit e7d6fbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clear.sh

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
22

33
# find inside scripts folder, anything matching php7, remove sub and pkg folders src.
4-
find ./scripts -type d -maxdepth 3 | grep -e 'php-7[0-9]*\.[0-9]*/' | xargs -I "{a}" rm -rf "{a}/src"
5-
find ./scripts -type d -maxdepth 3 | grep -e 'php-7[0-9]*\.[0-9]*/' | xargs -I "{a}" rm -rf "{a}/pkg"
4+
find ./scripts -maxdepth 3 -type d | grep -e 'php-7[0-9]*\.[0-9]*/' | xargs -I "{a}" rm -rf "{a}/src"
5+
find ./scripts -maxdepth 3 -type d | grep -e 'php-7[0-9]*\.[0-9]*/' | xargs -I "{a}" rm -rf "{a}/pkg"

0 commit comments

Comments
 (0)