Skip to content

Commit

Permalink
[php-doctrine-dbal] Minor bash update
Browse files Browse the repository at this point in the history
  • Loading branch information
siwinski committed Jan 5, 2014
1 parent 66d248d commit e032412
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions php-doctrine-dbal.spec
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ extension under the hood.

# Make a single executable
echo '#!%{_bindir}/php' > bin/doctrine-dbal
cat bin/doctrine-dbal.php \
| sed 's#Doctrine/Common/ClassLoader.php#%{_datadir}/php/Doctrine/Common/ClassLoader.php#' \
>> bin/doctrine-dbal
sed 's#Doctrine/Common/ClassLoader.php#%{_datadir}/php/Doctrine/Common/ClassLoader.php#' \
bin/doctrine-dbal.php >> bin/doctrine-dbal

# Remove empty file
rm -f lib/Doctrine/DBAL/README.markdown
Expand Down

0 comments on commit e032412

Please sign in to comment.