Attachment 'sage_scripts-3.4.patch'
Download 1 --- sage_scripts-3.4/sage-spkg~ 2009-02-21 20:38:33.000000000 +1100
2 +++ sage_scripts-3.4/sage-spkg 2009-03-01 07:51:32.465298061 +1100
3 @@ -73,7 +73,7 @@
4 fi
5 export FORCE
6
7 -DELETE_TMP=1
8 +DELETE_TMP=0
9 if [ $1 = '-s' -o $1 = '-m' ]; then
10 DELETE_TMP=0
11 shift
12 @@ -205,6 +205,14 @@
13 fi
14 fi
15
16 +if [ -f "$SAGE_PACKAGES/patches/$PKG_NAME.patch" ]; then
17 + echo "Applying local patches for $PKG_NAME"
18 + if ! patch -p0 < "$SAGE_PACKAGES/patches/$PKG_NAME.patch"; then
19 + echo "Patching failed"
20 + exit 1
21 + fi
22 +fi
23 +
24 cd "$PKG_NAME"
25 if [ ! -f spkg-install ]; then
26 echo "#!/usr/bin/env bash" > spkg-install
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.