aboutsummaryrefslogtreecommitdiffstats
path: root/src/redo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/redo.c')
-rw-r--r--src/redo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redo.c b/src/redo.c
index 84eca0b..577d975 100644
--- a/src/redo.c
+++ b/src/redo.c
@@ -88,7 +88,7 @@ int main(int argc, char *argv[]) {
} while (!*temp);
update_target(*temp, ident);
- add_dep(*temp, parent, ident);
+ add_dep(*temp, xbasename(parent), ident);
*temp = NULL;
}