Make compare-abis.sh work with versions having multiple digits in version number
authorBalint Reczey <balint@balintreczey.hu>
Tue, 10 Sep 2013 11:10:00 +0000 (11:10 -0000)
committerBalint Reczey <balint@balintreczey.hu>
Tue, 10 Sep 2013 11:10:00 +0000 (11:10 -0000)
svn path=/trunk/; revision=51927

tools/compare-abis.sh

index 6b5e90b9fad21cb570c3a7c1d9c1d1fc45c638a7..6a308162ce72234086a7be2c7c5481e910979275 100755 (executable)
@@ -36,9 +36,9 @@ function acc () {
                -d2 $V2_PATH/$DIR/$REL_DUMP_PATH/$LIBNAME.abi.tar.gz ; then
                abi-compliance-checker -l $LIBNAME \
                        -d1 $V1_PATH/$DIR/abi-descriptor.xml -relpath1 $V1_PATH/$DIR \
-                       -v1 `ls  $V1_PATH/$DIR/$REL_LIB_PATH/$LIBNAME.so.?.?.?|sed 's/.*\.so\.//'` \
+                       -v1 `ls  $V1_PATH/$DIR/$REL_LIB_PATH/$LIBNAME.so.?.*.*|sed 's/.*\.so\.//'` \
                        -d2 $V2_PATH/$DIR/abi-descriptor.xml -relpath2 $V2_PATH/$DIR \
-                       -v2 `ls  $V2_PATH/$DIR/$REL_LIB_PATH/$LIBNAME.so.?.?.?|sed 's/.*\.so\.//'` \
+                       -v2 `ls  $V2_PATH/$DIR/$REL_LIB_PATH/$LIBNAME.so.?.*.*|sed 's/.*\.so\.//'` \
                        -check-implementation
        fi
 }