]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- added check for the requested file just after cvs update; this is
authorkravietz <kravietz@pld-linux.org>
Mon, 15 Nov 1999 16:42:46 +0000 (16:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  probably needed since cvs returns 0 even if the file doesn't exist
  in the repository

Changed files:
    builder.sh -> 1.43

builder.sh

index da7a2757f05dfdca6c0754b842321b4e4e968647..f355c3cce2196a4c3c208ea54111217f17c6a620 100644 (file)
@@ -159,6 +159,9 @@ get_spec()
     if [ "$?" -ne "0" ]; then
        Exit_error err_no_spec_in_repo;
     fi
+       if [ ! -f "$SPECFILE" ]; then
+       Exit_error err_no_spec_in_repo;
+       fi
     
     if [ "$CHMODE" = "yes" ]; then
         chmod 444 $SPECFILE
This page took 0.041306 seconds and 4 git commands to generate.