ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/App-Staticperl/staticperl.sh
(Generate patch)

Comparing App-Staticperl/staticperl.sh (file contents):
Revision 1.11 by root, Wed Dec 8 22:27:35 2010 UTC vs.
Revision 1.12 by root, Fri Dec 10 02:35:54 2010 UTC

58[ -r ~/.staticperlrc ] && . ~/.staticperlrc 58[ -r ~/.staticperlrc ] && . ~/.staticperlrc
59[ -r "$STATICPERL/rc" ] && . "$STATICPERL/rc" 59[ -r "$STATICPERL/rc" ] && . "$STATICPERL/rc"
60 60
61############################################################################# 61#############################################################################
62# support 62# support
63
64unset PERL5OPT PERL5LIB PERLLIB PERL_UNICODE PERLIO_DEBUG
65export LC_ALL=C # just to be on the safe side
63 66
64# set version in a way that Makefile.PL can extract 67# set version in a way that Makefile.PL can extract
65VERSION=VERSION; eval \ 68VERSION=VERSION; eval \
66$VERSION=0.9 69$VERSION=0.9
67 70
391} 394}
392 395
393bundle() { 396bundle() {
394 catmkbundle >"$MKBUNDLE~" || fatal "$MKBUNDLE~: cannot create" 397 catmkbundle >"$MKBUNDLE~" || fatal "$MKBUNDLE~: cannot create"
395 chmod 755 "$MKBUNDLE~" && mv "$MKBUNDLE~" "$MKBUNDLE" 398 chmod 755 "$MKBUNDLE~" && mv "$MKBUNDLE~" "$MKBUNDLE"
399 CACHE="$STATICPERL/cache"
400 mkdir -p "$CACHE"
396 "$PERL_PREFIX/bin/perl" -- "$MKBUNDLE" "$@" 401 "$PERL_PREFIX/bin/perl" -- "$MKBUNDLE" --cache "$CACHE" "$@"
397} 402}
398 403
399if [ $# -gt 0 ]; then 404if [ $# -gt 0 ]; then
400 while [ $# -gt 0 ]; do 405 while [ $# -gt 0 ]; do
401 mkdir -p "$STATICPERL" || fatal "$STATICPERL: cannot create" 406 mkdir -p "$STATICPERL" || fatal "$STATICPERL: cannot create"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines