projects
/
mdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a167314
)
Fix issue when alias has only one argument
author
Frederic Massart
<fred@moodle.com>
Fri, 12 Oct 2012 12:42:57 +0000
(20:42 +0800)
committer
Frederic Massart
<fred@moodle.com>
Fri, 12 Oct 2012 12:43:32 +0000
(20:43 +0800)
moodle
patch
|
blob
|
history
diff --git
a/moodle
b/moodle
index
250ff5c
..
95eb103
100755
(executable)
--- a/
moodle
+++ b/
moodle
@@
-54,7
+54,7
@@
ALIAS=`$BIN show $COMMAND`
if [ -n "$ALIAS" ]
then
COMMAND=`echo $ALIAS | cut -d ' ' -f 1`
- ALIASARGS=`echo $ALIAS | cut -d ' ' -f 2-`
+ ALIASARGS=`echo $ALIAS | cut -d ' ' -
s -
f 2-`
ARGS="$ALIASARGS $ARGS"
fi