diff --git a/tar_from_installation.sh b/tar_from_installation.sh index 6fabe9d..707c5f5 100755 --- a/tar_from_installation.sh +++ b/tar_from_installation.sh @@ -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