aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-09-03 20:23:59 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-09-03 20:23:59 +0000
commitd0f44c4dadf6b1e342c1597d14cca521b71d5ec6 (patch)
tree413e23ae59dbb27ea1557484a559ce953a5ee116
parentf0ffb944d259efbe7c4e223b4068be440c1a51cf (diff)
downloadsrc-d0f44c4dadf6b1e342c1597d14cca521b71d5ec6.tar.gz
src-d0f44c4dadf6b1e342c1597d14cca521b71d5ec6.zip
Fix my backwards logic.
Submitted by: dirk
Notes
Notes: svn path=/head/; revision=82885
-rw-r--r--release/alpha/mkisoimages.sh4
-rw-r--r--release/amd64/mkisoimages.sh2
-rw-r--r--release/i386/mkisoimages.sh2
3 files changed, 4 insertions, 4 deletions
diff --git a/release/alpha/mkisoimages.sh b/release/alpha/mkisoimages.sh
index 8fdab1808410..224bc4db52d5 100644
--- a/release/alpha/mkisoimages.sh
+++ b/release/alpha/mkisoimages.sh
@@ -34,7 +34,7 @@ if [ $# -lt 3 ]; then
fi
type mkisofs 2>&1 | grep " is " >/dev/null
-if [ $? -eq 0 ]; then
+if [ $? -ne 0 ]; then
echo The mkisofs port is not installed. Trying to get it now.
if ! pkg_add -r mkisofs; then
echo "Could not get it via pkg_add - please go install this"
@@ -49,7 +49,7 @@ NAME=$1; shift
mkisofs -r -J -h -V $LABEL -o $NAME $*
type setcdboot 2>&1 | grep " is " >/dev/null
-if [ $? -eq 0 ]; then
+if [ $? -ne 0 ]; then
echo The setcdboot port is not installed. Trying to get it now.
if ! pkg_add -r setcdboot; then
echo "Could not get it via pkg_add - please go install this"
diff --git a/release/amd64/mkisoimages.sh b/release/amd64/mkisoimages.sh
index c61ee5526a15..1360d1c4f7ec 100644
--- a/release/amd64/mkisoimages.sh
+++ b/release/amd64/mkisoimages.sh
@@ -37,7 +37,7 @@ if [ $# -lt 3 ]; then
fi
type mkisofs 2>&1 | grep " is " >/dev/null
-if [ $? -eq 0 ]; then
+if [ $? -ne 0 ]; then
echo The mkisofs port is not installed. Trying to get it now.
if ! pkg_add -r mkisofs; then
echo "Could not get it via pkg_add - please go install this"
diff --git a/release/i386/mkisoimages.sh b/release/i386/mkisoimages.sh
index c61ee5526a15..1360d1c4f7ec 100644
--- a/release/i386/mkisoimages.sh
+++ b/release/i386/mkisoimages.sh
@@ -37,7 +37,7 @@ if [ $# -lt 3 ]; then
fi
type mkisofs 2>&1 | grep " is " >/dev/null
-if [ $? -eq 0 ]; then
+if [ $? -ne 0 ]; then
echo The mkisofs port is not installed. Trying to get it now.
if ! pkg_add -r mkisofs; then
echo "Could not get it via pkg_add - please go install this"