]> git.lizzy.rs Git - rust.git/blobdiff - build_sysroot/prepare_sysroot_src.sh
Drop support for cloudabi targets
[rust.git] / build_sysroot / prepare_sysroot_src.sh
index c96c3b36ba203055ec863714730f8543632c851d..d0fb09ce745d4daf860ed9d70d223880d46dc587 100755 (executable)
@@ -11,8 +11,8 @@ if [ ! -e $SRC_DIR ]; then
 fi
 
 rm -rf $DST_DIR
-mkdir -p $DST_DIR/src
-cp -r $SRC_DIR/src $DST_DIR/
+mkdir -p $DST_DIR/library
+cp -a $SRC_DIR/library $DST_DIR/
 
 pushd $DST_DIR
 echo "[GIT] init"
@@ -24,7 +24,8 @@ git commit -m "Initial commit" -q
 for file in $(ls ../../patches/ | grep -v patcha); do
 echo "[GIT] apply" $file
 git apply ../../patches/$file
-git commit --no-gpg-sign -am "Patch $file"
+git add -A
+git commit --no-gpg-sign -m "Patch $file"
 done
 popd