projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Skip the Cygwin package (.bz2) file when searching for the input (.gz) file.
[mmh]
/
SPECS
/
build-nmh-cygwin
diff --git
a/SPECS/build-nmh-cygwin
b/SPECS/build-nmh-cygwin
index
e7ce976
..
47bcdd9
100755
(executable)
--- a/
SPECS/build-nmh-cygwin
+++ b/
SPECS/build-nmh-cygwin
@@
-71,9
+71,11
@@
export FULLPKG=${SHORTPKG}${REL}
export src_orig_pkg_name=
if [ -e "${src_orig_pkg_name}" ] ; then
export opt_decomp=? # Make sure tar punts if unpack() is not redefined
export src_orig_pkg_name=
if [ -e "${src_orig_pkg_name}" ] ; then
export opt_decomp=? # Make sure tar punts if unpack() is not redefined
-elif [ -e ${BASEPKG}.tar.bz2 ] ; then
- export opt_decomp=j
- export src_orig_pkg_name=${BASEPKG}.tar.bz2
+# Change from generic-build-script: ${BASEPKG}.tar.bz2 is an output of
+# this script, so don't trip over it on a rerun.
+# elif [ -e ${BASEPKG}.tar.bz2 ] ; then
+# export opt_decomp=j
+# export src_orig_pkg_name=${BASEPKG}.tar.bz2
elif [ -e ${BASEPKG}.tar.gz ] ; then
export opt_decomp=z
export src_orig_pkg_name=${BASEPKG}.tar.gz
elif [ -e ${BASEPKG}.tar.gz ] ; then
export opt_decomp=z
export src_orig_pkg_name=${BASEPKG}.tar.gz