]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- terminating here terminates whole script; crap
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 13 Nov 2008 20:13:03 +0000 (20:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.494

rpm.macros

index 6ec50314eefc4bf5a2eb5b6c1d0120df09f17125..62a2b46291367be6e2e1129c49a6866b0088817d 100644 (file)
@@ -499,7 +499,7 @@ fi; }; __spec_install_post_chrpath } } }
         LC_ALL=C objdump -T $f 2> /dev/null | LC_ALL=C awk -v "file=$f" 'BEGIN { found=0; skip["program_name"]=1; symbols = "" } /^[0-9a-z]+ +D +\*UND\*/ { if ($NF in skip) { next; }; found = 1; symbols = symbols "\n\t" $NF } END { if (found) { print "\nUnresolved symbols found in: " file symbols; exit(1); } } ' || fail=1 ; \
     done ; \
     echo " DONE"; \
-    %{!?no_install_post_check_so:[ $fail -eq 1 ] && exit 0 || exit 0;} \
+    %{!?no_install_post_check_so:[ $fail -eq 1 ] && : || :;} \
 }; __spec_install_post_check_so }}
 
 #-----------------------------------------------------------------
This page took 0.304173 seconds and 4 git commands to generate.