]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
don't fail moving empty list of shared modules
authorGuido van Rossum <guido@python.org>
Thu, 10 Nov 1994 22:44:15 +0000 (22:44 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 10 Nov 1994 22:44:15 +0000 (22:44 +0000)
Modules/Makefile.pre.in

index f4460d6df30293800b9dd325839cf88c1671c237..ae6e8deab73c35d37781e45a07c321150e04f643 100644 (file)
@@ -150,6 +150,6 @@ yuvconvert.o: yuvconvert.c
 # Rules to build and install all shared modules
 sharedmods:    $(SHAREDMODS)
 sharedinstall: $(SHAREDMODS)
-               mv $(SHAREDMODS) $(DESTSHARED)
+               for i in $(SHAREDMODS); do mv $$i $(DESTSHARED)/$$i; done
 
 # Stuff is appended here by makesetup and make depend