BUG: Fixes for dash

This commit is contained in:
Andy Cedilnik 2006-12-13 16:44:49 -05:00
parent 2245c50c51
commit d6422d3ad6
1 changed files with 4 additions and 4 deletions

View File

@ -58,7 +58,7 @@ for a in "$@CPACK_AT_SIGN@"; do
fi fi
done 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 then
interactive=FALSE interactive=FALSE
fi fi
@ -73,7 +73,7 @@ fi
echo "The archive will be extracted to: ${toplevel}" echo "The archive will be extracted to: ${toplevel}"
if [ "x${interactive}x" == "xTRUEx" ] if [ "x${interactive}x" = "xTRUEx" ]
then then
echo "" echo ""
echo "If you want to stop extracting, please press <ctrl-C>." echo "If you want to stop extracting, please press <ctrl-C>."
@ -95,7 +95,7 @@ ____cpack__here_doc____
esac esac
fi fi
if [ "x${cpack_include_subdir}x" == "xx" ] if [ "x${cpack_include_subdir}x" = "xx" ]
then then
echo "By default the @CPACK_PACKAGE_NAME@ will be installed in:" echo "By default the @CPACK_PACKAGE_NAME@ will be installed in:"
echo " \"${toplevel}/@CPACK_PACKAGE_FILE_NAME@\"" echo " \"${toplevel}/@CPACK_PACKAGE_FILE_NAME@\""
@ -110,7 +110,7 @@ ____cpack__here_doc____
fi fi
fi fi
if [ "x${cpack_include_subdir}x" == "xTRUEx" ] if [ "x${cpack_include_subdir}x" = "xTRUEx" ]
then then
toplevel="${toplevel}/@CPACK_PACKAGE_FILE_NAME@" toplevel="${toplevel}/@CPACK_PACKAGE_FILE_NAME@"
mkdir -p "${toplevel}" mkdir -p "${toplevel}"