trylink: s/&& exit 1/|| exit 1/ (spotted by Alex Landau <landau_alex@yahoo.com>)
authorDenis Vlasenko <vda.linux@googlemail.com>
Mon, 6 Aug 2007 12:18:01 +0000 (12:18 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Mon, 6 Aug 2007 12:18:01 +0000 (12:18 -0000)
scripts/trylink

index b8bf8b1c78abad1741289f2baf7cb47515081056..74acb4cdd1811033e577a470337171c08fd47650 100755 (executable)
@@ -60,7 +60,7 @@ $ever_discarded && {
     # Make the binary with final, minimal list of libs
     echo "Final link with: $BBOX_LIB_LIST"
     l_list=`echo "$BBOX_LIB_LIST" | sed -e 's/ / -l/g' -e 's/^/-l/'`
-    try "-Wl,--start-group $l_list -Wl,--end-group" "$@" && exit 1
+    try "-Wl,--start-group $l_list -Wl,--end-group" "$@" || exit 1
 }
 rm busybox_ld.err
 exit 0  # Ensure "success" exit code