Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1ebc128

Browse files
committed
Fix for os version handling.
1 parentb3d8bea commit1ebc128

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

‎src/configure

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,11 +642,11 @@ starts 'checking host system type...'
642642
EOT
643643
TEMPLATE=generic
644644
GUESS=`grep"$host_os" template/.similar2>/dev/null`
645-
iftest$GUESS
646-
thenhost_os_no_ver=`grep"$host_os"| sed's/0-9.*$//'`
645+
iftest!"$GUESS"
646+
thenhost_os_no_ver=`echo"$host_os"| sed's/[0-9.]*$//'`
647647
GUESS=`grep"$host_os_no_ver" template/.similar2>/dev/null`
648648
fi
649-
iftest$GUESS
649+
iftest"$GUESS"
650650
then
651651
TEMPLATE=`echo$GUESS| sed's/.*=//'`
652652
fi

‎src/configure.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ starts 'checking host system type...'
8080
EOT
8181
TEMPLATE=generic
8282
GUESS=`grep "$host_os" template/.similar 2>/dev/null`
83-
if test $GUESS
84-
thenhost_os_no_ver=`grep "$host_os" | sed 's/[0-9.]*$//'`
83+
if test! "$GUESS"
84+
thenhost_os_no_ver=`echo "$host_os" | sed 's/[0-9.]*$//'`
8585
GUESS=`grep "$host_os_no_ver" template/.similar 2>/dev/null`
8686
fi
87-
if test $GUESS
87+
if test"$GUESS"
8888
then
8989
TEMPLATE=`echo $GUESS | sed 's/.*=//'`
9090
fi

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp