Skip to content
Browse files

Fix a bug adding new port dirs to the Makefile / SUBDIR +=

  • Loading branch information...
1 parent 8ea142b commit c97e21a018d4f2f6f480ea4a749942ed4794f3e7 @kmoore134 kmoore134 committed Nov 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/portbuild.sh
View
2 scripts/portbuild.sh
@@ -91,7 +91,7 @@ merge_pcbsd_src_ports()
pDir=`echo $i | cut -d '/' -f 2`
rc_halt "cd ${portsdir}"
- grep -q "SUBDIR += ${pDir}" ${cDir}/Makefile
+ grep -q "SUBDIR += ${pDir}\$" ${cDir}/Makefile
if [ $? -eq 0 ] ; then continue; fi
echo "Adding ${pDir} to ${cDir}/Makefile..."

0 comments on commit c97e21a

Please sign in to comment.
Something went wrong with that request. Please try again.