Skip to content

Commit

Permalink
Update spec so it can build against a repo (yadm-dev#225)
Browse files Browse the repository at this point in the history
The directory is only changed if not already in the project directory.
  • Loading branch information
TheLocehiliosan committed Dec 30, 2020
1 parent 207e0a9 commit 018ccb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yadm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ encrypted before they are included in the repository.

# this is done to allow paths other than yadm-x.x.x (for example, when building
# from branches instead of release tags)
cd *yadm-*
test -f yadm || cd *yadm-*

%{__mkdir} -p %{buildroot}%{_bindir}
%{__cp} yadm %{buildroot}%{_bindir}
Expand Down

0 comments on commit 018ccb0

Please sign in to comment.