cec6c601f4
Adjust for manual move Do not assume that tmpfile and target are on the same filesystem and use copy instead of rename. Change-Id: Ide16e541032f5bcc3ea462a9347faebdc5d7d670
14 lines
388 B
Bash
Executable File
14 lines
388 B
Bash
Executable File
#!/bin/sh
|
|
|
|
## copyright: B1 Systems GmbH <info@b1-systems.de>, 2013.
|
|
## author: Christian Berendt <berendt@b1-systems.de>, 2013.
|
|
## license: Apache License, Version 2.0
|
|
|
|
# Call ./tools/cleanup/remove_trailing_whitespaces.sh in the
|
|
# root of openstack-manuals.
|
|
|
|
files=$(find doc -name *.xml -not -name pom.xml)
|
|
for file in $files; do
|
|
sed -i -e 's/[[:space:]]*$//' $file
|
|
done
|