diff --git a/bin/make-main-dist.sh b/bin/make-main-dist.sh index 8919cd919a3aedcead9715f5d84163931addb6d5..4d0dbfd1db07107317bffeeade47feaf2eb2fb7a 100755 --- a/bin/make-main-dist.sh +++ b/bin/make-main-dist.sh @@ -127,12 +127,21 @@ do done # Create the directories and install the fasl files for asdf and defsystem -for f in asdf defsystem unix +for f in asdf defsystem do install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/lib/cmucl/lib/contrib/$f install ${GROUP} ${OWNER} -m 0644 $TARGET/contrib/$f/$f.$FASL $DESTDIR/lib/cmucl/lib/contrib/$f done +set -x +case `uname -s` in + Linux*) UCONTRIB="unix-glibc2" ;; + *) UCONTRIB="unix" ;; +esac + +install -d ${GROUP} ${OWNER} -m 0755 $DESTDIR/lib/cmucl/lib/contrib/unix +install ${GROUP} ${OWNER} -m 0644 $TARGET/contrib/unix/$UCONTRIB.$FASL $DESTDIR/lib/cmucl/lib/contrib/unix + # Copy the source files for asdf and defsystem for f in `(cd src; find contrib/asdf contrib/defsystem -type f -print | grep -v CVS)` do