Use cp -L rather than cp -l.

sunfishcode/really-update-llvm
Dan Gohman 3 years ago
parent bb7db8620a
commit 625c3f678e

@ -42,15 +42,15 @@ ls -l -R $INSTALL_DIR || :
sleep 30
ls -l -R $PKGDIR || :
sleep 30
# Copy with -l to avoid trying to create symlinks on Windows.
cp -l -R $INSTALL_DIR $PKGDIR || :
# Copy with -L to avoid trying to create symlinks on Windows.
cp -L -R $INSTALL_DIR $PKGDIR || :
sleep 30
ls -l -R $PKGDIR || :
sleep 30
rm -rf $PKGDIR
sleep 30
# Copy with -l to avoid trying to create symlinks on Windows.
cp -l -R $INSTALL_DIR $PKGDIR
# Copy with -L to avoid trying to create symlinks on Windows.
cp -L -R $INSTALL_DIR $PKGDIR
cd build
tar czf $OUTDIR/wasi-sdk-$VERSION\-$MACHINE.tar.gz wasi-sdk-$VERSION

Loading…
Cancel
Save