diff options
Diffstat (limited to 'Tools/portbuild')
-rwxr-xr-x | Tools/portbuild/scripts/makeworld | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/portbuild/scripts/makeworld b/Tools/portbuild/scripts/makeworld index 9b50c2d3907d..7ed0ee0052c8 100755 --- a/Tools/portbuild/scripts/makeworld +++ b/Tools/portbuild/scripts/makeworld @@ -57,7 +57,7 @@ echo "==> Starting make buildworld" make buildworld $* error=$? if [ "$error" != "0" ]; then - exit $? + exit $error fi echo "==> Cleaning up chroot" @@ -72,7 +72,7 @@ if [ "$client" = "0" ]; then make installworld DESTDIR=/var/chroot error=$? if [ "$error" != "0" ]; then - exit $? + exit $error fi echo "==> Starting make distribute" @@ -82,7 +82,7 @@ if [ "$client" = "0" ]; then make distribute DISTRIBUTION=/var/chroot/ error=$? if [ "$error" != "0" ]; then - exit $? + exit $error fi else echo "==> Not doing installworld of client source tree" |