diff options
author | Ken Moore <ken@ixsystems.com> | 2017-05-13 20:53:48 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-05-13 20:53:48 -0400 |
commit | 3c196c50b3116ef82c038bb542ed445a8c50d394 (patch) | |
tree | fc2ec670c0e1f046003773de83290da1989614a7 /mkport.sh | |
parent | Bump the portepoch for the x11/lumina port - version number is no longer just... (diff) | |
download | lumina-3c196c50b3116ef82c038bb542ed445a8c50d394.tar.gz lumina-3c196c50b3116ef82c038bb542ed445a8c50d394.tar.bz2 lumina-3c196c50b3116ef82c038bb542ed445a8c50d394.zip |
Another try to fix the autobuilder - finish the mkport.sh within the x11/lumina port directory.
Diffstat (limited to 'mkport.sh')
-rwxr-xr-x | mkport.sh | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -68,13 +68,12 @@ if [ -e "version" ] ; then verTag=$(cat version) else verTag=`git describe --always` - if [ "z${verTag}" != "z" ] ; then - verTag="${VERSION}.${verTag}" - else - verTag="${VERSION}" - fi fi - +if [ "z${verTag}" != "z" ] ; then + verTag="${VERSION}.${verTag}" +else + verTag="${VERSION}" +fi # Cleanup old distfiles rm ${distdir}/${dfile}-* 2>/dev/null @@ -83,7 +82,7 @@ orig_dir=`pwd` for port in `find port-files/FreeBSD | grep Makefile | cut -d / -f 3-4` do cd ${orig_dir} - echo "Copying port: ${port}" + echo "Updating port: ${port}" if [ -d "${portsdir}/${port}" ] ; then rm -rf ${portsdir}/${port} 2>/dev/null fi @@ -105,5 +104,5 @@ do tcat=$(echo $port | cut -d '/' -f 1) massage_subdir ${portsdir}/${tcat} done -#export a variable for the auto-builder to know which port to build as the primary -export port="x11/lumina" +#Now make sure we end in the port directory of the primary port +cd ${portsdir}/x11/lumina |