Skip to content
Browse files

Only list zotonic commands that have x perm set.

  • Loading branch information...
1 parent 7be90b5 commit e0ce4db4b4bd416ef702ea728ade056b28faac9c @kaos kaos committed May 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/zotonic
View
2 bin/zotonic
@@ -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

0 comments on commit e0ce4db

Please sign in to comment.
Something went wrong with that request. Please try again.