aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1991-11-07 10:14:32 +0000
committerK. Richard Pixley <rich@cygnus>1991-11-07 10:14:32 +0000
commit2e410706abd48d96b352ea33784be5e498a49f73 (patch)
tree64418a8617e5313e9ea85ecf6d60d67d8046d988 /gas
parent43e36dd252ec8cb5b069180caa7dcaf52ca5ea63 (diff)
downloadgdb-2e410706abd48d96b352ea33784be5e498a49f73.zip
gdb-2e410706abd48d96b352ea33784be5e498a49f73.tar.gz
gdb-2e410706abd48d96b352ea33784be5e498a49f73.tar.bz2
only build a link if it isn't there already
Diffstat (limited to 'gas')
-rw-r--r--gas/Makefile.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/Makefile.in b/gas/Makefile.in
index e076aa3..c6779d0 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -510,17 +510,17 @@ bootstrap3: force
stage1: force
-mkdir stage1
-mv $(STAGESTUFF) stage1
- (cd stage1 ; ln as.new as)
+ if [ ! -f stage1/as ] ; then (cd stage1 ; ln as.new as) ; fi
stage2: force
-mkdir stage2
-mv $(STAGESTUFF) stage2
- (cd stage2 ; ln as.new as)
+ if [ ! -f stage2/as ] ; then (cd stage2 ; ln as.new as) ; fi
stage3: force
-mkdir stage3
-mv $(STAGESTUFF) stage3
- (cd stage3 ; ln as.new as)
+ if [ ! -f stage3/as ] ; then (cd stage3 ; ln as.new as) ; fi
against=stage2