Browse code

always force overwrite of header for less headscratching

Nat! authored on 26-10-2015 17:45:25
Showing 2 changed files
... ...
@@ -22,6 +22,9 @@
22 22
 
23 23
    Install dummy dirs for xcodebuild too, to avoid boring compiler warnings.
24 24
 
25
+   Always overwrite headers, otherwise old and stale headers make life
26
+   unnecessarily more complicated.
27
+
25 28
 0.9.8
26 29
 ===
27 30
    Brings more Linux fixes
... ...
@@ -86,10 +86,10 @@ dispense_headers()
86 86
 
87 87
          log_fluff "Copying \"${src}\" to \"${dst}\""
88 88
          exekutor find "${src}" -xdev -mindepth 1 -maxdepth 1 -type d -print0 | \
89
-            exekutor xargs -0 -I % mv ${COPYMOVEFLAGS} -n % "${dst}"
89
+            exekutor xargs -0 -I % mv ${COPYMOVEFLAGS} -f % "${dst}"
90 90
          [ $? -eq 0 ]  || exit 1
91 91
          exekutor find "${src}" -xdev -mindepth 1 -maxdepth 1 \( -type f -o -type l \) -print0 | \
92
-            exekutor xargs -0 -I % mv ${COPYMOVEFLAGS} -n % "${dst}"
92
+            exekutor xargs -0 -I % mv ${COPYMOVEFLAGS} -f % "${dst}"
93 93
          [ $? -eq 0 ]  || exit 1
94 94
 
95 95
          rmdir_safer "${src}"
... ...
@@ -131,7 +131,7 @@ dispense_binaries()
131 131
          log_fluff "Copying \"${src}\" to \"${dst}\""
132 132
          mkdir_if_missing "${dst}"
133 133
          exekutor find "${src}" -xdev -mindepth 1 -maxdepth 1 \( -type "${findtype}" -o -type "${findtype2}" \) -print0 | \
134
-            exekutor xargs -0 -I % mv ${COPYMOVEFLAGS} -n % "${dst}"
134
+            exekutor xargs -0 -I % mv ${COPYMOVEFLAGS} -f % "${dst}"
135 135
          [ $? -eq 0 ]  || exit 1
136 136
       else
137 137
          log_fluff "But threre are none"
... ...
@@ -249,7 +249,7 @@ collect_and_dispense_product()
249 249
 
250 250
          log_fluff "Copying everything from \"${src}\" to \"${dst}\""
251 251
          exekutor find "${src}" -xdev -mindepth 1 -maxdepth 1 -print0 | \
252
-               exekutor xargs -0 -I % mv -v -n % "${dst}"
252
+               exekutor xargs -0 -I % mv ${COPYMOVEFLAGS} -f % "${dst}"
253 253
          [ $? -eq 0 ]  || fail "moving files from ${src} to ${dst} failed"
254 254
       fi
255 255