Typos and substituting variable names in build.rpm.sh
This commit is contained in:
parent
abac34fa2f
commit
bdc7b77eae
1 changed files with 5 additions and 2 deletions
|
@ -41,11 +41,14 @@ fi
|
||||||
source_tar=$name-$version.tar.gz
|
source_tar=$name-$version.tar.gz
|
||||||
vendor_tar=$name-$version-vendor.tar.gz
|
vendor_tar=$name-$version-vendor.tar.gz
|
||||||
|
|
||||||
|
echo "Building source tarball $source_tar."
|
||||||
|
echo "Building vendor tarball $vendor_tar."
|
||||||
|
|
||||||
# First, we need a tarball of the source code in this very repo.
|
# First, we need a tarball of the source code in this very repo.
|
||||||
git archive --format=tar.gz --prefix=$name-$version/ -o SolutionTM-$version.tar.gz HEAD
|
git archive --format=tar.gz --prefix=$name-$version/ -o $source_tar HEAD
|
||||||
|
|
||||||
# If we want an unclean build, comment out the above line and use the following instead.
|
# If we want an unclean build, comment out the above line and use the following instead.
|
||||||
# git ls-files | tar --transform='s,^,$name-$version/,' -T - -czf $source_tar
|
# git ls-files | tar --transform="s,^,$name-$version/," -T - -czf $source_tar
|
||||||
|
|
||||||
# Then we need a vendor tarball of the dependencies.
|
# Then we need a vendor tarball of the dependencies.
|
||||||
cargo vendor --versioned-dirs vendor
|
cargo vendor --versioned-dirs vendor
|
||||||
|
|
Loading…
Reference in a new issue