Added line to print working directory of commands which fail.
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
( exec "$@" ) || {
|
||||
echo
|
||||
echo "In the directory " `pwd`
|
||||
echo "The following command failed to execute properly:"
|
||||
echo "$@"
|
||||
exit 1;
|
||||
|
||||
Reference in New Issue
Block a user