allow unix2nt_ar <*.a> with only one argument (null operation)
authorGengbin Zheng <gzheng@illinois.edu>
Sun, 27 Sep 2009 15:39:27 +0000 (15:39 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Sun, 27 Sep 2009 15:39:27 +0000 (15:39 +0000)
src/arch/win64/unix2nt_ar

index 3c1c3a16b7b135d16cb8ef7a1c805f74e36df751..4a5be3920b0c9745ad4dec3ba7ece98d62c6f440 100755 (executable)
@@ -67,6 +67,7 @@ Abort() {
 #
 ##############################################################################
 
+[ $# -eq 1 ] && exit 0
 [ $# -lt 2 ] && printUsage "Error: Not enough arguments given."
 
 out=$1