Browse Source

autogen.sh: Automate cleaning INSTALL out of libblkmaker so git updates properly

Luke Dashjr 11 years ago
parent
commit
57a67b8028
1 changed files with 4 additions and 0 deletions
  1. 4 0
      autogen.sh

+ 4 - 0
autogen.sh

@@ -6,6 +6,10 @@ bs_dir="$(dirname "$0")"
 
 if test -z "$NOSUBMODULES" ; then
 	echo 'Getting submodules...'
+	
+	# Older versions had INSTALL in git; remove it so git can update cleanly
+	rm -f libblkmaker/INSTALL
+	
 	(
 		cd "${bs_dir}"
 		git submodule update --init