Skip to content

Commit

Permalink
Fixed propel-gen script
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand committed May 29, 2012
1 parent 3849529 commit 3b15493
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion generator/bin/propel-gen
Expand Up @@ -58,8 +58,13 @@ if [ -z "$PROPEL_GEN_HOME" ] ; then

fi

# Composer install?
if [ -d "vendor/phing/phing" ] ; then
export PHING_COMMAND="$PROPEL_GEN_HOME/bin/phing.php"
if [ -f "$PROPEL_GEN_HOME/bin/phing.php" ] ; then
export PHING_COMMAND="$PROPEL_GEN_HOME/bin/phing.php"
else
export PHING_COMMAND="$PROPEL_GEN_HOME/vendor/propel/propel1/generator/bin/phing.php"
fi
fi

if [ -z "$PHING_COMMAND" ] ; then
Expand Down

0 comments on commit 3b15493

Please sign in to comment.