--- plamo/01_minimum/old/fortune_mod-20170606/PlamoBuild.fortune_mod-1.99.1 2017-06-06 12:58:41.000000000 +0900 +++ plamo/01_minimum/fortune_mod/PlamoBuild.fortune_mod-1.99.1 2017-06-24 15:03:52.000000000 +0900 @@ -39,7 +39,7 @@ apply_patches cd $B patch -Np0 -i $W/01_all_fortune_all-fix.patch - cp -p Makefile Makefile.orig + cp -p Makefile{,.orig} sed -i -e '/^FORTDIR=/s@games@bin@g' -e '/^COOKIEDIR=/s@/games@@g' \ -e '/^LOCALDIR=/s@/games@@g' -e '/^BINDIR=/s@bin@sbin@g' \ -e '/^FORTMANDIR=/s@man6@man1@g' -e '/^FORTMANEXT=/s@6@1@g' \