Skip to content

Commit ed53f8c

Browse files
committed
Build now longer deletes .htaccess
1 parent 9b168d8 commit ed53f8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fi
3535
echo "Cleaning ..."
3636

3737
### Cleanup old build files
38-
find $BUILD -type f ! -name ".gitkeep" |xargs -i rm {}
38+
find $BUILD -type f ! -name ".gitkeep" -and ! -name ".htaccess" |xargs -i rm {}
3939
find $BUILD -type d ! -name ".gitkeep" -and ! -name "build" |xargs -i rmdir {} -p --ignore-fail-on-non-empty
4040

4141
if [ ! -z $CLEANONLY ]; then

0 commit comments

Comments
 (0)