diff options
author | kris <kris@FreeBSD.org> | 2003-01-24 12:39:02 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-01-24 12:39:02 +0800 |
commit | 6c5717bd7bc98c3cbdac20b6f518d275c4c2fb99 (patch) | |
tree | d697edaa2dabe8e9cf339e118cb48d22f7962085 /Tools/portbuild | |
parent | 2d4c2350875d634d1e0ca28915bc9030f4ba254f (diff) | |
download | freebsd-ports-gnome-6c5717bd7bc98c3cbdac20b6f518d275c4c2fb99.tar.gz freebsd-ports-gnome-6c5717bd7bc98c3cbdac20b6f518d275c4c2fb99.tar.zst freebsd-ports-gnome-6c5717bd7bc98c3cbdac20b6f518d275c4c2fb99.zip |
Use pkg_add instead of pkg_add -f
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-x | Tools/portbuild/scripts/buildscript | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/buildscript b/Tools/portbuild/scripts/buildscript index 8f842e1dd534..1a5e90e25f92 100755 --- a/Tools/portbuild/scripts/buildscript +++ b/Tools/portbuild/scripts/buildscript @@ -17,13 +17,13 @@ if [ $phase = 1 ]; then if [ "$(echo $(/bin/ls | wc -c))" != 0 ]; then echo "adding dependencies" for i in *.t[bg]z; do - echo "pkg_add -f $i" + echo "pkg_add $i" base=$(basename $i .tgz) base=$(basename $base .tbz) if pkg_info -q -e $base; then echo "skipping $base, already added" else - if ! pkg_add -f $i; then + if ! pkg_add $i; then echo "error in dependency $i, exiting" echo "1" > /tmp/status exit 1 @@ -60,7 +60,7 @@ else DISPLAY=:${pid} export DISPLAY fi - + cd $dir || exit 1 pkgname=$(make package-name) if /pnohang $TIMEOUT /tmp/make.log2 ${pkgname} make package; then |