summaryrefslogtreecommitdiff
path: root/function.c
diff options
context:
space:
mode:
Diffstat (limited to 'function.c')
-rw-r--r--function.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/function.c b/function.c
index 237214e..5ce56b5 100644
--- a/function.c
+++ b/function.c
@@ -23,6 +23,7 @@ Boston, MA 02111-1307, USA. */
#include "dep.h"
#include "job.h"
#include "commands.h"
+#include "debug.h"
#ifdef _AMIGA
#include "amiga.h"
@@ -1454,8 +1455,8 @@ func_shell (o, argv, funcname)
reap_children (1, 0);
if (batch_filename) {
- if (debug_flag)
- printf(_("Cleaning up temporary batch file %s\n"), batch_filename);
+ DB (DB_EXTRA, (_("Cleaning up temporary batch file %s\n"),
+ batch_filename));
remove(batch_filename);
free(batch_filename);
}