diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-12-30 07:33:56 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-12-30 07:33:56 +0100 |
commit | b4aed8cbf07516ce8e663ea94bc10b350cff2a64 (patch) | |
tree | 6c2618c5911c4fb68b66148efd4b789daf99b850 /makesrc.sh | |
parent | 4e179866837a3355c822711dd156000642a1c1b9 (diff) |
php-paragonie-random-compat: 2.0.4 (backported from Fedora)
Diffstat (limited to 'makesrc.sh')
-rwxr-xr-x | makesrc.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,8 +2,8 @@ NAME=$(basename $PWD) OWNER=$(sed -n '/^%global github_owner/{s/.* //;p}' $NAME.spec) -PROJECT=$(sed -n '/^%global github_name/{s/.* //;p}' $NAME.spec) -VERSION=$(sed -n '/^Version:/{s/.* //;p}' $NAME.spec) +PROJECT=$(sed -n '/^%global github_name/{s/.* //;p}' $NAME.spec) +VERSION=$(sed -n '/^%global github_version/{s/.* //;p}' $NAME.spec) COMMIT=$(sed -n '/^%global github_commit/{s/.* //;p}' $NAME.spec) SHORT=${COMMIT:0:7} @@ -16,7 +16,7 @@ git clone https://github.com/$OWNER/$PROJECT.git $PROJECT-$COMMIT echo "Getting commit..." pushd $PROJECT-$COMMIT git checkout $COMMIT -cp composer.json ../composer-$VERSION.json +cp composer.json ../composer.json popd echo "Archiving..." |