Browse Source

missed one

David Rose 23 years ago
parent
commit
9d611f563f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      direct/src/directscripts/make-panda3d-tgz.py

+ 2 - 1
direct/src/directscripts/make-panda3d-tgz.py

@@ -73,7 +73,8 @@ if not ORIGTAG:
 
 
     print 'Tagging sources.'
     print 'Tagging sources.'
     cmd = 'cvs -f -d "%s" rtag -F -r HEAD "%s" "%s"' % (CVSROOT, tag, MODULE)
     cmd = 'cvs -f -d "%s" rtag -F -r HEAD "%s" "%s"' % (CVSROOT, tag, MODULE)
-    os.system(cmd)
+    if os.system(cmd) != 0:
+        sys.exit(1)
 else:
 else:
     # Otherwise, we were given a starting tag, so use it.
     # Otherwise, we were given a starting tag, so use it.
     tag = ORIGTAG
     tag = ORIGTAG