David Rose преди 23 години
родител
ревизия
9d611f563f
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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.'
     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:
     # Otherwise, we were given a starting tag, so use it.
     tag = ORIGTAG