Subversion Repositories pike

Compare Revisions

Ignore whitespace Rev 62 → Rev 63

/branches/7.6-stable/debian/changelog
10,8 → 10,11
* Increase Debhelper compat level to 5.
- Remove non-matching lines from debian/*.install.
* Add build dependency libfftw3-dev that was mysteriously missing.
* Instead of patching shebangs and fixing execute permissions, simply
remove them from all Pike scripts. None of them are meant to be run
directly anyway.
 
-- Magnus Holmgren <holmgren@debian.org> Sun, 23 Aug 2009 00:26:38 +0200
-- Magnus Holmgren <holmgren@debian.org> Sun, 23 Aug 2009 18:18:02 +0200
 
pike7.6 (7.6.112-4) unstable; urgency=low
 
/branches/7.6-stable/debian/rules
184,16 → 184,10
mv $(TMP)/usr/bin/pike $(TMP)/usr/bin/$(PIKE)
mv $(TMP)/usr/share/man/man1/pike.1 $(TMP)/usr/share/man/man1/$(PIKE).1
 
# Fix permissions and shebang lines
-for f in `find $(TMP)/usr/bin $(TMP)/usr/lib -type f`; do \
if file $$f | grep -q "script"; then \
chmod a+x $$f; \
sed -ri -e 's@#!.*NOMODULE@#!/usr/bin/$(PIKE)@' \
-e 's@#! */usr/local/bin/pike@#!/usr/bin/$(PIKE)@' \
-e 's@#! */usr/bin/env.*pike@#!/usr/bin/$(PIKE)@' \
$$f; \
fi; \
done
# Simply strip exec permissions and shebangs from all pike scripts.
find $(TMP)/usr -name *.p* -type f \
-exec chmod a-x '{}' + \
-exec sed -ri -e '1!b;/^#!/d' '{}' +
 
# Don't install our own specs file - the ordinary one is not that bad really
# sed -e 's/@PIKEVERSION@/$(VERSION)/g' \