Updated for the current platform list. Pass the -p option to mkdir to
authorwtchang%redhat.com
Wed, 22 Nov 2006 22:42:57 +0000
changeset 3721 b939bd33d2bf04d43d55ee8b6bb4ddef927459c6
parent 3713 d4e270bb9aa4518f8cd5caa46be5ca33d3d97356
child 3722 60316e7406a30376f513795ebdb26b70b67c58e6
push idunknown
push userunknown
push dateunknown
Updated for the current platform list. Pass the -p option to mkdir to handle a directory in WIN_OBJDIRS of the form msvc6.0/WIN954.0_DBG.OBJ.
admin/repackage.sh
--- a/admin/repackage.sh
+++ b/admin/repackage.sh
@@ -67,48 +67,44 @@
 FROMTOP=/share/builds/components/nspr20/v4.7
 TOTOP=./v4.7
 NSPRDIR=nspr-4.7
 SOURCETAG=NSPR_4_7_RTM
 
 #
 # enumerate Unix object directories on /s/b/c
 UNIX_OBJDIRS="
-AIX4.3_64_DBG.OBJ
-AIX4.3_64_OPT.OBJ
-AIX4.3_DBG.OBJ
-AIX4.3_OPT.OBJ
-HP-UXB.11.00_64_DBG.OBJ
-HP-UXB.11.00_64_OPT.OBJ
-HP-UXB.11.00_DBG.OBJ
-HP-UXB.11.00_OPT.OBJ
-IRIX6.5_n32_PTH_DBG.OBJ
-IRIX6.5_n32_PTH_OPT.OBJ
-Linux2.2_x86_glibc_PTH_DBG.OBJ
-Linux2.2_x86_glibc_PTH_OPT.OBJ
+HP-UXB.11.11_64_DBG.OBJ
+HP-UXB.11.11_64_OPT.OBJ
+HP-UXB.11.11_DBG.OBJ
+HP-UXB.11.11_OPT.OBJ
+HP-UXB.11.23_ia64_32_DBG.OBJ
+HP-UXB.11.23_ia64_32_OPT.OBJ
+HP-UXB.11.23_ia64_64_DBG.OBJ
+HP-UXB.11.23_ia64_64_OPT.OBJ
 Linux2.4_x86_glibc_PTH_DBG.OBJ
 Linux2.4_x86_glibc_PTH_OPT.OBJ
-OSF1V5.0_DBG.OBJ
-OSF1V5.0_OPT.OBJ
-SunOS5.6_DBG.OBJ
-SunOS5.6_OPT.OBJ
-SunOS5.8_64_DBG.OBJ
-SunOS5.8_64_OPT.OBJ
-SunOS5.8_DBG.OBJ
-SunOS5.8_OPT.OBJ
+Linux2.6_x86_64_glibc_PTH_DBG.OBJ
+Linux2.6_x86_64_glibc_PTH_OPT.OBJ
+Linux2.6_x86_glibc_PTH_DBG.OBJ
+Linux2.6_x86_glibc_PTH_OPT.OBJ
+SunOS5.9_64_DBG.OBJ
+SunOS5.9_64_OPT.OBJ
+SunOS5.9_DBG.OBJ
+SunOS5.9_OPT.OBJ
 "
 #
 # enumerate Windows object directories on /s/b/c
 WIN_OBJDIRS="
 WIN954.0_DBG.OBJ
 WIN954.0_DBG.OBJD
 WIN954.0_OPT.OBJ
-WINNT4.0_DBG.OBJ
-WINNT4.0_DBG.OBJD
-WINNT4.0_OPT.OBJ
+WINNT5.0_DBG.OBJ
+WINNT5.0_DBG.OBJD
+WINNT5.0_OPT.OBJ
 "
 
 #
 # Create the destination directory.
 #
 echo "removing directory $TOTOP"
 rm -rf $TOTOP
 echo "creating directory $TOTOP"
@@ -178,17 +174,17 @@ for OBJDIR in $WIN_OBJDIRS; do
 
     echo "copying $FROMTOP/$OBJDIR/lib"
     cp -r $FROMTOP/$OBJDIR/lib $NSPRDIR
 
     echo "copying $FROMTOP/$OBJDIR/bin"
     cp -r $FROMTOP/$OBJDIR/bin $NSPRDIR
 
     echo "creating directory $TOTOP/$OBJDIR"
-    mkdir $TOTOP/$OBJDIR
+    mkdir -p $TOTOP/$OBJDIR
     echo "creating $TOTOP/$OBJDIR/$NSPRDIR.zip"
     zip -r $TOTOP/$OBJDIR/$NSPRDIR.zip $NSPRDIR
 done
 
 #
 # package the source from CVS
 #
 echo "Packaging source"