projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6a83547
)
Fixed patch section of prep().
author
David Levine
<levinedl@acm.org>
Tue, 8 May 2012 15:16:46 +0000
(10:16 -0500)
committer
David Levine
<levinedl@acm.org>
Tue, 8 May 2012 15:16:46 +0000
(10:16 -0500)
SPECS/build-nmh-cygwin
patch
|
blob
|
history
diff --git
a/SPECS/build-nmh-cygwin
b/SPECS/build-nmh-cygwin
index
359925f
..
e7ce976
100755
(executable)
--- a/
SPECS/build-nmh-cygwin
+++ b/
SPECS/build-nmh-cygwin
@@
-234,12
+234,14
@@
mkdirs_log() {
}
# Unpack the original tarball, and get everything set up for this script.
}
# Unpack the original tarball, and get everything set up for this script.
+# Change from generic-build-script: cd to ${srcdir} instead of ${topdir}.
+# Change from generic-build-script: use -p1 instead of -p0 patch option.
prep() {
(cd ${topdir} && \
unpack ${src_orig_pkg} && \
prep() {
(cd ${topdir} && \
unpack ${src_orig_pkg} && \
- cd ${topdir} && \
+ cd ${srcdir} && \
if [ -f ${src_patch} ] ; then \
if [ -f ${src_patch} ] ; then \
- patch -Z -p0 < ${src_patch} ;\
+ patch -Z -p1 < ${src_patch} ;\
fi && \
mkdirs )
}
fi && \
mkdirs )
}