Commit b1cb3e6c2b029352ea1ab70389aee274928b41ac

Authored by Antonio Terceiro
2 parents c9b39e42 17e3d9f2

Merge branch 'rpm'

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