diff --git a/make-libpciaccess-snapshot.sh b/make-libpciaccess-snapshot.sh index 85d80b1..114491d 100755 --- a/make-libpciaccess-snapshot.sh +++ b/make-libpciaccess-snapshot.sh @@ -25,7 +25,7 @@ msg="* $(date +'%a %b %d %Y') ${info[4]} <$user@redhat.com> $version-$release.$D - New snapshot, git revision $HASH.\\ " -sed -ie "s/^%define gitdate.*/%define gitdate $DATE/" \ +sed -i -e "s/^%define gitdate.*/%define gitdate $DATE/" \ -e "s/^%define gitrev.*/%define gitrev $HASH/" \ -e "s/^Source0:.*/Source0: $DIRNAME-$DATE.tar.bz2/" \ -e "s/^Release:.*/Release: $release.%{gitdate}%{?dist}/" \