From 5ae2f30a92a9010c9c4b11064f78fbbf9c737321 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Sun, 18 Oct 2015 03:16:51 +0300 Subject: [PATCH] update.sh: remove entries before adding them --- update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/update.sh b/update.sh index 75aae8b19..e95381e00 100755 --- a/update.sh +++ b/update.sh @@ -1,5 +1,6 @@ #!/bin/bash +sed '/macro_optional_add_subdirectory/d' -i CMakeLists.txt for i in *;do if [ -d "$i" ];then echo "macro_optional_add_subdirectory( $i )" >> CMakeLists.txt