Browse Source

Fix typo in macro expanding syntax

Alois Mahdal 7 years ago
parent
commit
d8ef776200
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      bisq-exchange.spec.in

+ 1
- 1
bisq-exchange.spec.in View File

32
     mkdir -p "%{buildroot}/opt/bisq-exchange" "%{buildroot}%{_bindir}"
32
     mkdir -p "%{buildroot}/opt/bisq-exchange" "%{buildroot}%{_bindir}"
33
     cp -r ./[a-z0-9]* "%{buildroot}/opt/bisq-exchange"
33
     cp -r ./[a-z0-9]* "%{buildroot}/opt/bisq-exchange"
34
     install -m 0755 bisq-exchange "%{buildroot}/opt/bisq-exchange"
34
     install -m 0755 bisq-exchange "%{buildroot}/opt/bisq-exchange"
35
-    ln -sT "/opt/bisq-exchange/bisq-exchange" "%{buildroot}${_bindir}/bisq-exchange"
35
+    ln -sT "/opt/bisq-exchange/bisq-exchange" "%{buildroot}%{_bindir}/bisq-exchange"
36
     find "%{buildroot}/opt/bisq-exchange" | LC_ALL=C sort > all.list
36
     find "%{buildroot}/opt/bisq-exchange" | LC_ALL=C sort > all.list
37
     find "%{buildroot}/opt/bisq-exchange" -type d | LC_ALL=C sort > dirs.list
37
     find "%{buildroot}/opt/bisq-exchange" -type d | LC_ALL=C sort > dirs.list
38
     sed -i -e "s|^%{buildroot}||" all.list dirs.list
38
     sed -i -e "s|^%{buildroot}||" all.list dirs.list