0
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-08-23 16:23:44 -04:00

Merge pull request #309 from mrshu/install-fix

Install fix
This commit is contained in:
James Booth 2014-02-25 20:12:44 +00:00
commit a9980621dc
2 changed files with 32 additions and 20 deletions

View File

@ -1,7 +1,19 @@
#!/bin/sh #!/bin/bash
set -o errtrace
STATUS=development STATUS=development
error_handler()
{
ERR_CODE=$?
echo "Error $ERR_CODE with command '$BASH_COMMAND' on line ${BASH_LINENO[0]}. Exiting."
exit $ERR_CODE
}
trap error_handler ERR
debian_prepare() debian_prepare()
{ {
echo echo