Skip to content

Commit

Permalink
Add prefix to install into writeable directories
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender authored and TingPing committed May 3, 2022
1 parent 6815eeb commit ba50056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpan/flatpak-cpan-generator.pl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ sub main {
" mod_dir=\$1",
" cd \$mod_dir",
" if [ -f 'Makefile.PL' ]; then",
" perl Makefile.PL && make install",
" perl Makefile.PL PREFIX=${FLATPAK_DEST} && make install PREFIX=${FLATPAK_DEST}",
" elif [ -f 'Build.PL' ]; then",
" perl Build.PL && ./Build && ./Build install",
" else",
Expand Down

0 comments on commit ba50056

Please sign in to comment.