Kaydet (Commit) 9bd221ab authored tarafından Stephan Bergmann's avatar Stephan Bergmann

config.guess is apparently not supposed to be called directly

(if you look at how it is used by generated configure scripts); this fixes the
inadvertent loss of executable flag in 3379a4d0
"Update config.{guess,sub}"

Change-Id: I29b3467970093006c994af63cb5f5bf087831ae6
üst bd968717
......@@ -34,7 +34,7 @@ $main::OO_MINORVERSION =~ s#[^\d]+(\d).(\d).+#$2#go;
$main::OO_SDK_CONFIG_HOME= "$ENV{HOME}/$main::OO_SDK_NAME";
$main::operatingSystem = `$main::sdkpath/config.guess | cut -d"-" -f3,4`;
$main::operatingSystem = `/bin/sh $main::sdkpath/config.guess | cut -d"-" -f3,4`;
chomp ($main::operatingSystem);
$main::OO_SDK_HOME = $main::sdkpath;
......
......@@ -89,7 +89,7 @@ then
fi
# Get the operating system.
sdk_platform=`${OO_SDK_HOME}/config.guess | cut -d"-" -f3,4`
sdk_platform=`/bin/sh ${OO_SDK_HOME}/config.guess | cut -d"-" -f3,4`
# Set the directory name.
programdir=program
......@@ -143,7 +143,7 @@ fi
# Set the directory name.
case ${sdk_platform} in
solaris*)
sdk_proctype=`${OO_SDK_HOME}/config.guess | cut -d"-" -f1`
sdk_proctype=`/bin/sh ${OO_SDK_HOME}/config.guess | cut -d"-" -f1`
if [ "${sdk_proctype}" = "sparc" ]
then
directoryname=solsparc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment