Commit 17e3d9f2e13171b232c3697d26e51dee597d4aa7

Authored by Alexandre Barbosa
1 parent c9b39e42

Fixed colab-admin wrapper script

Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Signed-off-by: Antonio Terceiro <terceiro@softwarelivre.org>
Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
colab.spec
1 1 %define name colab
2 2 %define version 2.0a2
3 3 %define unmangled_version 2.0a2
4   -%define release 1
  4 +%define release 2
5 5 %define buildvenv /var/tmp/%{name}-%{version}
6 6  
7 7 Summary: Collaboration platform for communities
... ... @@ -54,7 +54,7 @@ cat &gt; %{buildroot}/%{_bindir}/colab-admin &lt;&lt;EOF
54 54 #!/bin/sh
55 55 set -e
56 56  
57   -if [ "$USER" = colab ]; then
  57 +if [ "\$USER" = colab ]; then
58 58 exec /usr/lib/colab/bin/colab-admin "\$@"
59 59 else
60 60 exec sudo -u colab /usr/lib/colab/bin/colab-admin "\$@"
... ...