From 48e2c5f6ecea2499f37985485c9c650b552abe89 Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Fri, 14 Apr 2017 12:40:32 -0500 Subject: [PATCH] Update redhat.rst --- docs/installationguide/redhat.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/installationguide/redhat.rst b/docs/installationguide/redhat.rst index ff68bb685..705c65a29 100644 --- a/docs/installationguide/redhat.rst +++ b/docs/installationguide/redhat.rst @@ -178,12 +178,11 @@ We want to turn this into a tarball, but first we need to figure out what to nam ls ~/rpmbuild/SOURCES -The tarball from the previsouly installed SRPM should be there. This is the name we will use. For this example, the name is ZoneMinder-1.28.1.tar.gz. From the local ZoneMinder git repository, execute the following: +The tarball from the previsouly installed SRPM should be there. This is the name we will use. For this example, the name is ZoneMinder-1.28.1.tar.gz. From the root folder of the local ZoneMinder git repository, execute the following: :: - git archive --prefix=ZoneMinder-1.28.1/ -o zoneminder-1.28.1.tar.gz HEAD - mv zoneminder-1.28.1.tar.gz ~/rpmbuld/SOURCES/ + git archive --prefix=ZoneMinder-1.28.1/ -o ~/rpmbuld/SOURCES/zoneminder-1.28.1.tar.gz HEAD Note that we are overwriting the original tarball. If you wish to keep the original tarball then create a copy prior to creating the new tarball.