Skip to content

Commit

Permalink
gpg should be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderWillner committed Dec 29, 2011
1 parent c5c6de0 commit bc05a23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-script.sh
Expand Up @@ -39,7 +39,7 @@ fi

pushd "$1" > /dev/null

gpg --import "$gpgFile";
[ "`which gpg`" != "" ] && gpg --import "$gpgFile";
mkdir -p "$build";
mkdir -p "$target";
cd "$build";
Expand All @@ -48,7 +48,7 @@ if [ ! -e "$version$fileExt" ]; then
curl -O "$url$version$fileExt"
curl -O "$url$version$sigExt"
fi
gpg --verify "$version$sigExt"
[ "`which gpg`" != "" ] && gpg --verify "$version$sigExt"

if [ "$?" != "0" ]; then
echo "Could not get the sources!";
Expand Down

0 comments on commit bc05a23

Please sign in to comment.