~ubuntu-branches/ubuntu/raring/python3.3/raring-proposed

« back to all changes in this revision

Viewing changes to debian/patches/makesetup-bashism.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2012-03-22 06:14:01 UTC
  • Revision ID: package-import@ubuntu.com-20120322061401-vvrgvw3nvi68rtqq
Tags: 3.3.0~a1-1
* Python 3.3.0 alpha1 release.
* Update to 20120321 from the trunk.
* Update debian/copyright.
* Build-depend on expat (>= 2.1~).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DP: Fix bashism in makesetup shell script
 
2
 
 
3
--- a/Modules/makesetup
 
4
+++ b/Modules/makesetup
 
5
@@ -281,7 +281,7 @@
 
6
        -)      ;;
 
7
        *)      sedf="@sed.in.$$"
 
8
                trap 'rm -f $sedf' 0 1 2 3
 
9
-               echo "1i\\" >$sedf
 
10
+               printf "1i\\" >$sedf
 
11
                str="# Generated automatically from $makepre by makesetup."
 
12
                echo "$str" >>$sedf
 
13
                echo "s%_MODOBJS_%$OBJS%" >>$sedf