Correct bash conditional

This commit is contained in:
James Laska 2015-09-08 23:14:31 -04:00
parent 6fa26bd026
commit 77f4a280e3

View File

@ -529,10 +529,10 @@ deb-src-upload: deb-src
reprepro: deb
mkdir -p $@/conf
cp -a packaging/reprepro/* $@/conf/
if [ "$(OFFICIAL)" == "yes" ] ; then \
echo "ask-passphrase" >> $@/conf; \
sed -i -e 's|^\(Codename:\)|SignWith: $(DEB_GPG_KEY)\n\1|' $@/distributions ; \
cp -a packaging/reprepro $@/conf
if [ "$(OFFICIAL)" = "yes" ] ; then \
echo "ask-passphrase" >> $@/conf/options; \
sed -i -e 's|^\(Codename:\)|SignWith: $(DEB_GPG_KEY)\n\1|' $@/conf/distributions ; \
fi
@DEB=deb-build/$(NAME)_$(VERSION)-$(RELEASE)_$(DEB_ARCH).deb ; \
for DIST in trusty precise ; do \