[x265] [PATCH 1 of 3] multilib: more portable string compare

Steve Borho steve at borho.org
Fri Jul 10 18:18:00 CEST 2015


# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1436544756 18000
#      Fri Jul 10 11:12:36 2015 -0500
# Node ID 051f4705754d9318788c031418845daa0b04fe8f
# Parent  a7182b1072e6d148db59cf7c073a0a0636e86d5d
multilib: more portable string compare

diff -r a7182b1072e6 -r 051f4705754d build/linux/multilib.sh
--- a/build/linux/multilib.sh	Thu Jul 09 15:22:53 2015 -0500
+++ b/build/linux/multilib.sh	Fri Jul 10 11:12:36 2015 -0500
@@ -20,7 +20,7 @@
 mv libx265.a libx265_main.a
 
 uname=`uname`
-if [[ "$uname" == "Linux" ]];
+if [ "$uname" = "Linux" ]
 then
 
 # On Linux, we use GNU ar to combine the static libraries together


More information about the x265-devel mailing list