Fix shell portability issues detected with pkgsrc on NetBSD This patch is MIT-licensed.
Author: Kamil Rytarowski
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; -
signature.asc
Description: OpenPGP digital signature
_______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org https://www.virtualbox.org/mailman/listinfo/vbox-dev