setup: fix another bug in the "build with a specific stride size" feature
authorzooko <zooko@zooko.com>
Thu, 11 Sep 2008 20:06:42 +0000 (01:36 +0530)
committerzooko <zooko@zooko.com>
Thu, 11 Sep 2008 20:06:42 +0000 (01:36 +0530)
darcs-hash:648b2922fc8593e4ab6efb0c0e57796be0ea6a9d

zfec/setup.py

index c4159de1dda9043e41c6d256ed8df581b4c735c5..8d86f2fb1e655310d0853784565b6d5d6b1c859e 100755 (executable)
@@ -41,11 +41,9 @@ for arg in sys.argv:
     if arg.startswith("--stride="):
         stride = int(arg[len("--stride="):])
         define_macros.append(('STRIDE', stride))
+        sys.argv.remove(arg)
         break
 
-sys.argv.remove(arg)
-
-
 if DEBUGMODE:
     extra_compile_args.append("-O0")
     extra_compile_args.append("-g")