From 16123f95a4dc46ac68d677a89d8c2c04fcf34490 Mon Sep 17 00:00:00 2001 From: Joel Bender Date: Fri, 14 Aug 2015 22:21:31 -0400 Subject: [PATCH] change the script test from a file to a directory --- release_to_pypi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release_to_pypi.sh b/release_to_pypi.sh index 5e91a3f..4a7cb31 100755 --- a/release_to_pypi.sh +++ b/release_to_pypi.sh @@ -1,7 +1,7 @@ #!/bin/bash # remove everything in the current dist/ directory -[ -f dist ] && rm -Rfv dist +[ -d dist ] && rm -Rfv dist for ver in 2.7 3.4; do python$ver setup.py bdist_egg