From 77f4a280e367597494a01935d76e48c433b40aac Mon Sep 17 00:00:00 2001 From: James Laska Date: Tue, 8 Sep 2015 23:14:31 -0400 Subject: [PATCH] Correct bash conditional --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e64aaf4709..e585f28f50 100644 --- a/Makefile +++ b/Makefile @@ -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 \