Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/adblockplus/templates/web/commands.sh.erb

Issue 29733731: #7320 - Introduce helpcenter role (Closed)
Patch Set: Created March 27, 2018, 3:53 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #!/bin/sh
mathias 2018/03/27 14:46:52 This script is either horribly implemented or poin
f.lopez 2018/03/27 19:29:50 Acknowledged.
2 # Script: /usr/local/bin/wrapper.sh
3 #command="$SSH_ORIGINAL_COMMAND"; shift
4 set $SSH_ORIGINAL_COMMAND
5 command="$1"; shift
6 case "$command" in
7 "uname")
8 /home/<%= scope.lookupvar("adblockplus::web::static::deploy_user") %>/bi n/own-uname
9 ;;
10 *)
11 echo "Sorry. Only these commands are available to you:"
12 echo "uname"
13 exit 1
14 ;;
15 esac
OLDNEW

Powered by Google App Engine
This is Rietveld