Opened 15 years ago

Closed 15 years ago

#140 closed defect (fixed)

sage -br : should not run if sage -b failed with an error!!

Reported by: was Owned by: was
Priority: major Milestone:
Component: user interface Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by was)

Fixed

sha:~/d/sage was$ hg diff setup.py
diff -r e5639abcbc25 setup.py
--- a/setup.py  Thu Oct 19 22:11:40 2006 -0700
+++ b/setup.py  Thu Oct 19 22:14:32 2006 -0700
@@ -384,8 +384,8 @@ def process_pyrexembed_file(f, m):
         print cmd
         ret = os.system(cmd)
         if ret != 0:
-            print "Error running pyrexembed."
-            sys.exit(ret)
+            print "sage: Error running pyrexembed."
+            sys.exit(1)
         process_pyrex_file(pyx_embed_file, m)
         cmd = 'cp -p %s/*.pyx %s/; cp -p %s/*.c %s/; cp -p %s/*.h %s/; cp -p %s/*.cpp %s/'%(tmp, dir, tmp, dir, tmp, dir, tmp, dir)
         print cmd
@@ -407,8 +407,8 @@ def process_pyrex_file(f, m):
         print cmd
         ret = os.system(cmd)
         if ret != 0:
-            print "Error running pyrexc."
-            sys.exit(ret)
+            print "sage: Error running pyrexc."
+            sys.exit(1)

Change History (2)

comment:1 Changed 15 years ago by was

  • Description modified (diff)

comment:2 Changed 15 years ago by was

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.