diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/samba/samba-3.6.24/smbtar-bashism.patch')
-rw-r--r-- | meta-oe/recipes-connectivity/samba/samba-3.6.24/smbtar-bashism.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba-3.6.24/smbtar-bashism.patch b/meta-oe/recipes-connectivity/samba/samba-3.6.24/smbtar-bashism.patch new file mode 100644 index 000000000..27a47cb51 --- /dev/null +++ b/meta-oe/recipes-connectivity/samba/samba-3.6.24/smbtar-bashism.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Description: Avoid using bashism in smbtar | ||
2 | Author: Jelmer Vernooij <jelmer@samba.org> | ||
3 | Bug-Debian: http://bugs.debian.org/486056 | ||
4 | Forwarded: yes | ||
5 | Bug: https://bugzilla.samba.org/show_bug.cgi?id=8924 | ||
6 | |||
7 | Index: experimental/source3/script/smbtar | ||
8 | =================================================================== | ||
9 | --- experimental.orig/source3/script/smbtar | ||
10 | +++ experimental/source3/script/smbtar | ||
11 | @@ -151,7 +151,7 @@ | ||
12 | if [ -z "$verbose" ]; then | ||
13 | echo "server is $server" | ||
14 | # echo "share is $service" | ||
15 | - echo "share is $service\\$cdcmd" | ||
16 | + printf "share is %s\\%s\n" "$service" "$cdcmd" | ||
17 | echo "tar args is $tarargs" | ||
18 | # echo "password is $password" # passwords should never be sent to screen | ||
19 | echo "tape is $tapefile" | ||