Skip to content
Permalink
Browse files

rb-password: remove use of cd

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@40508 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
jmroot committed Oct 4, 2008
1 parent f4fdaf2 commit eefb818e3603b65864dc370d4083411ec06ad650
Showing with 4 additions and 4 deletions.
  1. +4 −4 ruby/rb-password/Portfile
@@ -25,10 +25,10 @@ depends_lib-append lib:libcrack.2:cracklib \

patchfiles patch-tc_password.rb.diff
post-patch {
cd ${worksrcpath}
reinplace "s|^#!.*ruby|#!${ruby.bin}|" example/example.rb example/pwgen
reinplace "s|/usr/local|${prefix}|g" extconf.rb
reinplace "s|pw_dict|cracklib/&|g" extconf.rb
reinplace "s|^#!.*ruby|#!${ruby.bin}|" ${worksrcpath}/example/example.rb \
${worksrcpath}/example/pwgen
reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/extconf.rb
reinplace "s|pw_dict|cracklib/&|g" ${worksrcpath}/extconf.rb
}

post-build {

0 comments on commit eefb818

Please sign in to comment.
You can’t perform that action at this time.