🧑💻 Strip #errors in Configurations deployment
This commit is contained in:
committed by
InsanityAutomation
parent
331f1f5d4b
commit
d352f036e0
Executable → Regular
+1
-2
@@ -87,8 +87,7 @@ if [[ $ACTION == "init" ]]; then
|
||||
# Strip all #error lines
|
||||
IFS=$'\n'; set -f
|
||||
for fn in $( find $TEMP/config -type f -name "Configuration.h" ); do
|
||||
$SED -i~ -e "20,30{/#error/d}" "$fn"
|
||||
rm "$fn~"
|
||||
$SED -i "20,30{/#error/d}" $fn
|
||||
done
|
||||
unset IFS; set +f
|
||||
|
||||
|
||||
Reference in New Issue
Block a user