1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-06 08:49:29 +02:00

Whitespace is now cleaned in test.pl

This commit is contained in:
David Steele
2014-07-12 19:36:12 -04:00
parent 353cdb6b31
commit ed4bcf3e46
4 changed files with 4 additions and 5 deletions

View File

@@ -31,4 +31,4 @@ psql_options=--cluster=9.3/main
path=/Users/dsteele/test/db/common
[db:command:option]
psql=--port=6001
psql=--port=6001

View File

@@ -61,7 +61,9 @@ BackRestTestCommon_Setup();
####################################################################################################################################
# Clean whitespace
####################################################################################################################################
# find .. -not \( -path ../.git -prune \) -not \( -path ../test/test -prune \) -not \( -iname ".DS_Store" \)
BackRestTestCommon_Execute("find .. -type f -not -path \"../.git/*\" -not -path \"*.DS_Store\" " .
"-exec sh -c 'for i;do echo \"\$i\" && sed 's/[[:space:]]*\$//' \"\$i\">/tmp/.\$\$ && cat /tmp/.\$\$ " .
"> \"\$i\";done' arg0 {} + > /dev/null");
####################################################################################################################################
# Make sure version number matches in README.md and VERSION

View File

@@ -1,2 +0,0 @@
util/clean_trailing_whitespace.sh . \*.pm
util/clean_trailing_whitespace.sh . \*.pl

View File

@@ -1 +0,0 @@
find $1 -type f -name "$2" -exec sh -c 'for i;do echo "$i" && sed 's/[[:space:]]*$//' "$i">/tmp/.$$ && cat /tmp/.$$ > "$i";done' arg0 {} +