Correct Copy Process

because the package names have changed (have the scripts in line with docker-compile.sh)
This commit is contained in:
lordgrey.emmel@gmail.com
2019-07-18 12:26:02 -07:00
parent 61bffa6dd8
commit 74a4bf1557
2 changed files with 12 additions and 12 deletions

View File

@@ -7,24 +7,24 @@ fi
repodir="$1"
buildid="$2"
builddir=$repodir/build-$buildid
builddir=$repodir/hyperion.ng-$buildid
echo build directory = $builddir
echo repository root dirrectory = $repodir
echo repository root directory = $repodir
if ! [ -d "$builddir" ]; then
echo "Could not find build director"
exit 1
fi
outfile="$repodir/deploy/hyperion_$buildid.tar.gz"
outfile="$repodir/deploy/hyperion.ng_$buildid.tar.gz"
echo create $outfile
tar --create --gzip --absolute-names --show-transformed-names --ignore-failed-read\
--file "$outfile" \
--transform "s:$builddir/bin/:hyperion/bin/:" \
--transform "s:$repodir/config/:hyperion/config/:" \
--transform "s:$repodir/bin/service/hyperion.init.sh:hyperion/services/hyperion.init.sh:" \
--transform "s:$repodir/bin/service/hyperion.systemd.sh:hyperion/services/hyperion.systemd.sh:" \
--transform "s:$repodir/bin/service/hyperion.initctl.sh:hyperion/services/hyperion.initctl.sh:" \
--transform "s:$repodir/bin/service/hyperion.init:hyperion/services/hyperion.init:" \
--transform "s:$repodir/bin/service/hyperion.systemd:hyperion/services/hyperion.systemd:" \
--transform "s:$repodir/bin/service/hyperion.initctl:hyperion/services/hyperion.initctl:" \
--transform "s://:/:g" \
"$builddir/bin/hyperion"* \
"$repodir/bin/service/hyperion.init" \