summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/version
diff options
context:
space:
mode:
authorbmah <bmah@FreeBSD.org>2001-04-30 15:35:43 +0000
committerbmah <bmah@FreeBSD.org>2001-04-30 15:35:43 +0000
commit203bc733914856a82c895da25ecefb6d44dda087 (patch)
tree4a7db57019feb4edf0b4509ac6392e082d66d45a /usr.sbin/pkg_install/version
parente7467b0a7b35cfe8f2958d4ac21f19a4ea30f939 (diff)
downloadFreeBSD-src-203bc733914856a82c895da25ecefb6d44dda087.zip
FreeBSD-src-203bc733914856a82c895da25ecefb6d44dda087.tar.gz
The pkg_version -c output will now call for a "make clean" before and
after the port build/install. The former cleans up "dirty" port work directories that happen to be lying around, and the latter cleans up after we're done so that they won't trip up someone else. PR: ports/25106 Submitted by: tim@bishnet.net, nik, mwm@mired.org
Diffstat (limited to 'usr.sbin/pkg_install/version')
-rwxr-xr-xusr.sbin/pkg_install/version/pkg_version.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/version/pkg_version.pl b/usr.sbin/pkg_install/version/pkg_version.pl
index 7118fab..b878249 100755
--- a/usr.sbin/pkg_install/version/pkg_version.pl
+++ b/usr.sbin/pkg_install/version/pkg_version.pl
@@ -569,9 +569,9 @@ $CommentChar, $Comment
$CommentChar
cd @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
$portPath
-make && pkg_delete -f @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+make clean && make && pkg_delete -f @<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
$packageNameVer
-make install
+make install clean
.
;
OpenPOWER on IntegriCloud