|
|
|
@ -20,7 +20,6 @@ else
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
PKGDIR=build/wasi-sdk-$VERSION
|
|
|
|
|
mkdir -p build
|
|
|
|
|
|
|
|
|
|
case "$(uname -s)" in
|
|
|
|
|
Linux*) MACHINE=linux;;
|
|
|
|
@ -37,12 +36,19 @@ fi
|
|
|
|
|
|
|
|
|
|
rm -rf $PKGDIR
|
|
|
|
|
sleep 30
|
|
|
|
|
ls -R $INSTALL_DIR || :
|
|
|
|
|
mkdir -p build
|
|
|
|
|
sleep 30
|
|
|
|
|
ls -l -R $INSTALL_DIR || :
|
|
|
|
|
sleep 30
|
|
|
|
|
ls -R $PKGDIR || :
|
|
|
|
|
ls -l -R $PKGDIR || :
|
|
|
|
|
sleep 30
|
|
|
|
|
cp -R $INSTALL_DIR $PKGDIR
|
|
|
|
|
cp -R $INSTALL_DIR $PKGDIR || :
|
|
|
|
|
sleep 30
|
|
|
|
|
ls -l -R $PKGDIR || :
|
|
|
|
|
sleep 30
|
|
|
|
|
rm -rf $PKGDIR
|
|
|
|
|
sleep 30
|
|
|
|
|
cp -R $INSTALL_DIR $PKGDIR
|
|
|
|
|
cd build
|
|
|
|
|
tar czf $OUTDIR/wasi-sdk-$VERSION\-$MACHINE.tar.gz wasi-sdk-$VERSION
|
|
|
|
|
|
|
|
|
|