summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-02-28 10:52:22 +0100
committerJean Delvare <jdelvare@suse.de>2014-02-28 10:52:22 +0100
commit72ae6ed73cc17ce6f6f0f0c4950453e1f881c039 (patch)
tree18a60a929f555ac3e29f5d21366b4949dc2fef42 /bin
parentede7ccaf359f6b673b6f72af33c0645c62c1b237 (diff)
downloadquilt-72ae6ed73cc17ce6f6f0f0c4950453e1f881c039.tar.gz
Use consistent brace placement
Use the same brace placement for all bash functions through the whole tree.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/patch-wrapper.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/patch-wrapper.in b/bin/patch-wrapper.in
index 358856a..6cbdc31 100755
--- a/bin/patch-wrapper.in
+++ b/bin/patch-wrapper.in
@@ -26,7 +26,8 @@ then
set -- --posix "$@"
fi
-backup_files() {
+backup_files()
+{
declare dir=${QUILT_PC:-.pc}/$patch
if [ "$backup_mode" = --backup-if-mismatch ]
@@ -64,7 +65,8 @@ backup_files() {
fi
}
-find_pipe_patch() {
+find_pipe_patch()
+{
declare patch=$1
patch=${patch//\[/\\[}
patch=${patch//\]/\\]}