Skip to content

Commit 4aa3951

Browse files
authored
Merge pull request #3 from golift/dn2_nullglob-_on
Update upload.sh
2 parents baff4a6 + c6b9203 commit 4aa3951

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

upload.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env bash
22

33
set -e
4+
shopt -s nullglob
45

56
echo "Installing package cloud gem..."
67
sudo gem install --no-document package_cloud
@@ -56,4 +57,4 @@ else
5657
if [ "${SOURCE##*.}" = "deb" ]; then DISTRIBUTIONS="${PACKAGECLOUD_DEB_DISTRIB}"; fi
5758
PACKAGE_NAME="${SOURCE}"
5859
upload_file
59-
fi
60+
fi

0 commit comments

Comments
 (0)