Subversion Repositories pike

Compare Revisions

Ignore whitespace Rev 63 → Rev 64

/trunk/debian/changelog
13,8 → 13,11
and modifies install.pike to use it. The rest of the package is not
quite ready though, so the patch is disabled for now.
* Refresh all other patches.
* 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 17:49:41 +0200
-- Magnus Holmgren <holmgren@debian.org> Sun, 23 Aug 2009 18:19:08 +0200
 
pike7.8 (7.8.116-1) experimental; urgency=low
 
/trunk/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' \