Browse Source

avoid error message

Waldemar Brodkorb 7 years ago
parent
commit
196b86da48
2 changed files with 3 additions and 1 deletions
  1. 2 0
      .travis.yml
  2. 1 1
      mk/build.mk

+ 2 - 0
.travis.yml

@@ -1,3 +1,5 @@
+git:
+  depth: 3
 install:
   - sudo apt-get -qq update
   - sudo apt-get install -y mksh

+ 1 - 1
mk/build.mk

@@ -323,7 +323,7 @@ $(CONFIG)/mconf:
 	@$(MAKE) -C $(CONFIG)
 
 defconfig: .menu $(CONFIG)/conf
-	-@rm $(ADK_TOPDIR)/.defconfig
+	-@rm $(ADK_TOPDIR)/.defconfig 2>/dev/null
 	@if [ ! -z "$(ADK_NO_CHECKSUM)" ];then \
 		echo "ADK_DISABLE_CHECKSUM=y" >> $(ADK_TOPDIR)/.defconfig; \
 	fi