Browse code

* fix corruption of motd file

Nat! authored on 28-09-2017 17:10:33
Showing 3 changed files
... ...
@@ -1,3 +1,7 @@
1
+### 3.13.5
2
+
3
+* fix corruption of motd file
4
+
1 5
 ### 3.13.4
2 6
 
3 7
 * protect CC renames affecting subsequent builds
... ...
@@ -31,7 +31,7 @@
31 31
 #
32 32
 MULLE_EXECUTABLE_VERSION_MAJOR=3
33 33
 MULLE_EXECUTABLE_VERSION_MINOR=13
34
-MULLE_EXECUTABLE_VERSION_PATCH=4
34
+MULLE_EXECUTABLE_VERSION_PATCH=5
35 35
 
36 36
 MULLE_EXECUTABLE_VERSION="${MULLE_EXECUTABLE_VERSION_MAJOR}.${MULLE_EXECUTABLE_VERSION_MINOR}.${MULLE_EXECUTABLE_VERSION_PATCH}"
37 37
 
... ...
@@ -113,20 +113,21 @@ _bootstrap_auto_copy()
113 113
             # stays in local
114 114
          ;;
115 115
 
116
-         *.build|settings|overrides)
117
-            if [ -d "${filepath}" ]
116
+         motd)
117
+            if [ -f "${filepath}" ]
118 118
             then
119
-               exekutor cp -Ran ${COPYMOVEFLAGS} "${filepath}" "${dstfilepath}" >&2
119
+               exekutor cp -an ${COPYMOVEFLAGS} "${filepath}" "${dstfilepath}" >&2
120 120
             fi
121 121
          ;;
122 122
 
123
-         bin)
123
+         bin|*.build|settings|overrides)
124 124
             if [ -d "${filepath}" ]
125 125
             then
126 126
                exekutor cp -Ran ${COPYMOVEFLAGS} "${filepath}" "${dstfilepath}" >&2
127 127
             fi
128 128
          ;;
129 129
 
130
+
130 131
          repositories)
131 132
             merge_repository_files "${filepath}" "${dstfilepath}" "NO"
132 133
             seen="`seen_check "${seen}" "${name}"`"