Commit 8b93eb056b41ff0084c900314912e51849d0a853

Authored by Antonio Terceiro
1 parent 7b65dc1c

colab: fix colab-admin script

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
specs/colab/colab.spec
1 1 %define name colab
2 2 %define version 2.0a2
3 3 %define unmangled_version 2.0a2
4   -%define release 2
  4 +%define release 7
5 5 %define buildvenv /var/tmp/%{name}-%{version}
6 6  
7 7 Summary: Collaboration platform for communities
... ... @@ -54,7 +54,7 @@ cat > %{buildroot}/%{_bindir}/colab-admin <<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 "\$@"
... ...