echo-e"\n############################################################\n### end $ci\n############################################################">>"$NGINX_CONFIG_COPY.$DATE_EXT"
PREVIOUS_CI_LINE="$CI_LINE"
done
#echo "pre-cat waiting..."
#debug "pre-cat waiting..."
#read
cat$NGINX_CONFIG_COPY.*>"$NGINX_CONFIG_COPY"
rm$NGINX_CONFIG_COPY.*
#echo "post-rm waiting..."
#debug "post-rm waiting..."
#read
done
IFS="$OLDIFS"
...
...
@@ -126,10 +130,10 @@ cd "$ORIG_CWD"
# check how we need to output the thing
if["$2"!=""];then
echo"+-- moving the temporary output file to the output destination"
echo" src: $NGINX_CONFIG_COPY"
echo" dst: $2"
debug"+-- moving the temporary output file to the output destination"
debug" src: $NGINX_CONFIG_COPY"
debug" dst: $2"
mv"$NGINX_CONFIG_COPY""$(basename$2)"
echo"+-- cleaning up the temporary output directory"
debug"+-- cleaning up the temporary output directory"