Skip to content

Commit

Permalink
Only list zotonic commands that have x perm set.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaos committed May 8, 2012
1 parent 7be90b5 commit e0ce4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/zotonic
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ then
echo Usage: `basename $0` [command] 1>&2
echo 1>&2
echo Where [command] is one of: 1>&2
CMDS="`ls $ZOTONIC_SCRIPTS | grep zotonic- | grep -v _ | sed 's/zotonic-//g'`"
CMDS="`find $ZOTONIC_SCRIPTS/zotonic-* -perm /a+x | sed 's/.*zotonic-//g'`"
echo $CMDS 1>&2
echo 1>&2
echo see doc/ZotonicCommands.txt for more info 1>&2
Expand Down

0 comments on commit e0ce4db

Please sign in to comment.