From d6422d3ad69ab0c68bd50bc35a1c7a2edbe564f5 Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Wed, 13 Dec 2006 16:44:49 -0500 Subject: [PATCH] BUG: Fixes for dash --- Modules/CPack.STGZ_Header.sh.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/CPack.STGZ_Header.sh.in b/Modules/CPack.STGZ_Header.sh.in index 1325239bc..7044be8f0 100755 --- a/Modules/CPack.STGZ_Header.sh.in +++ b/Modules/CPack.STGZ_Header.sh.in @@ -58,7 +58,7 @@ for a in "$@CPACK_AT_SIGN@"; do fi done -if [ "x${cpack_include_subdir}x" != "xx" -o "x${cpack_skip_license}x" == "xTRUEx" ] +if [ "x${cpack_include_subdir}x" != "xx" -o "x${cpack_skip_license}x" = "xTRUEx" ] then interactive=FALSE fi @@ -73,7 +73,7 @@ fi echo "The archive will be extracted to: ${toplevel}" -if [ "x${interactive}x" == "xTRUEx" ] +if [ "x${interactive}x" = "xTRUEx" ] then echo "" echo "If you want to stop extracting, please press ." @@ -95,7 +95,7 @@ ____cpack__here_doc____ esac fi - if [ "x${cpack_include_subdir}x" == "xx" ] + if [ "x${cpack_include_subdir}x" = "xx" ] then echo "By default the @CPACK_PACKAGE_NAME@ will be installed in:" echo " \"${toplevel}/@CPACK_PACKAGE_FILE_NAME@\"" @@ -110,7 +110,7 @@ ____cpack__here_doc____ fi fi -if [ "x${cpack_include_subdir}x" == "xTRUEx" ] +if [ "x${cpack_include_subdir}x" = "xTRUEx" ] then toplevel="${toplevel}/@CPACK_PACKAGE_FILE_NAME@" mkdir -p "${toplevel}"