summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index b1bb15971d..c0d7e55f7e 100755
--- a/build.sh
+++ b/build.sh
@@ -550,7 +550,7 @@ then
begin_section "Uploads"
# Upload installer
package=$(installer_$arch)
- if [ x"$package" != x ] && test -d "$package"
+ if [ x"$package" != x ] && test -f "$package"
then
# Upload base package.
installer+=("$package")