Skip to content

Commit c2066b5

Browse files
committed
Test: abi-check: Upload to the correct location
1 parent 1589cc9 commit c2066b5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

abi-check

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function extract() {
3131
elif [ -f abi_dumps/$PACKAGE/${PACKAGE}_$VERSION.abi.tar.gz ]; then
3232
return
3333
fi
34-
34+
3535
echo "Building ABI dump for $*"
3636
BUILD_ROOT=.ABI-build
3737

@@ -64,10 +64,10 @@ EOF
6464
echo " abi-compliance-checker -l $PACKAGE -dump_abi $DESC"
6565
echo ""
6666
echo "To find libraries after building:"
67-
echo " find $BUILD_ROOT/root -name "*.so" -print"
67+
echo " find $BUILD_ROOT/root -name "*.so" -print"
6868
6969
else
70-
find $BUILD_ROOT/root -name "*.so" -print >> $DESC
70+
find $BUILD_ROOT/root -name "*.so" -print >> $DESC
7171
fi
7272
7373
cat<<EOF>>$DESC
@@ -89,7 +89,7 @@ for arg in $*; do
8989
extract $T $V
9090
done
9191
92-
if [ $# -gte 2 ]; then
92+
if [ $# = 2 ]; then
9393
V1=`version $1`
9494
V2=`version $2`
9595
@@ -98,6 +98,6 @@ if [ $# -gte 2 ]; then
9898
-d2 abi_dumps/${PACKAGE}/${PACKAGE}_${V2}.abi.tar.gz
9999
100100
if [ $UPLOAD = 1 -a -d compat_reports/pacemaker/${V1}_to_${V2} ]; then
101-
rsync -azxlSD --progress compat_reports/pacemaker/${V1}_to_${V2} [email protected]:/var/www/html/abi/
101+
rsync -azxlSD --progress compat_reports/pacemaker/${V1}_to_${V2} [email protected]:/var/www/html/abi/pacemaker/
102102
fi
103103
fi

0 commit comments

Comments
 (0)