  	esac
  
  	if [ -z "$portdir" -a -z "$upg_port" ]; then
-@@ -3015,11 +3114,20 @@
+@@ -3015,11 +3112,20 @@
  
  	case "$arg2" in
  	*/*)	ro_opd=$arg2 ; ro_upg_port=`iport_from_origin $ro_opd` ;;

Index: portmaster
===================================================================
--- portmaster	(révision 224747)
+++ portmaster	(copie de travail)
@@ -291,7 +291,13 @@
 			 unset -v MASTER_RB_LIST;
 			 $PM_SU_CMD /usr/bin/nice /usr/bin/make $PM_MAKE_ARGS $*; ); }

 			esac
 
 			[ -z "$do_update" ] && {
@@ -1682,6 +1764,11 @@
 	fi
 
 	pm_cd $pkgdir || fail "Cannot cd into $pkgdir to create a package"
