[vbox-dev] NetBSD patch 0005: Fix shell portability issues detected with pkgsrc on NetBSD
Kamil Rytarowski
n54 at gmx.com
Fri Jul 22 22:46:53 UTC 2016
Fix shell portability issues detected with pkgsrc on NetBSD
This patch is MIT-licensed.
Author: Kamil Rytarowski
-------------- next part --------------
Fix shell portability issues detected with pkgsrc on NetBSD
This patch is MIT-licensed.
Author: Kamil Rytarowski
Index: src/VBox/VMM/testcase/mkdsk.sh
===================================================================
--- src/VBox/VMM/testcase/mkdsk.sh (wersja 62416)
+++ src/VBox/VMM/testcase/mkdsk.sh (kopia robocza)
@@ -11,7 +11,7 @@
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
-if [ "x$3" == "x" ]; then
+if [ "x$3" = "x" ]; then
echo "syntax error"
echo "syntax: $0 imagename <size-in-KBs> <init prog> [tar files]"
Index: src/VBox/Installer/darwin/VirtualBox/preflight
===================================================================
--- src/VBox/Installer/darwin/VirtualBox/preflight (wersja 62416)
+++ src/VBox/Installer/darwin/VirtualBox/preflight (kopia robocza)
@@ -15,7 +15,7 @@
set -e
# Check environment.
-if [ "${INSTALLER_TEMP}x" == "x" ]; then
+if [ "${INSTALLER_TEMP}x" = "x" ]; then
echo "Required environment variable INSTALLER_TEMP is missing. Aborting installation."
exit 1;
fi
Index: src/VBox/Installer/darwin/VirtualBox/postflight
===================================================================
--- src/VBox/Installer/darwin/VirtualBox/postflight (wersja 62416)
+++ src/VBox/Installer/darwin/VirtualBox/postflight (kopia robocza)
@@ -69,7 +69,7 @@
fi
# Check environment.
-if [ "${INSTALLER_TEMP}x" == "x" ]; then
+if [ "${INSTALLER_TEMP}x" = "x" ]; then
echo "Required environment variable INSTALLER_TEMP is missing. Aborting installation."
exit 1;
fi
@@ -96,4 +96,3 @@
done
exit 0;
-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20160723/253b1bd1/attachment.sig>
More information about the vbox-dev
mailing list