]> git.pld-linux.org Git - packages/kernel.git/blobdiff - update-source.sh
- 5.18.5
[packages/kernel.git] / update-source.sh
index fc33254dcb7e86855c322e1f1f68a0e461156216..5f635b6bbdf431b64a90b654e7cec5a57effbfb6 100755 (executable)
@@ -1,13 +1,13 @@
 #!/bin/sh
-set -x
+set -xe
 
-#BRANCH=aufs5.x-rcN
-BRANCH=aufs5.15
+BRANCH=aufs5.x-rcN
+#BRANCH=aufs5.16
 
 # aufs5
-git clone git://github.com/sfjro/aufs5-standalone.git
+[ -d aufs5-standalone ] || git clone https://github.com/sfjro/aufs5-standalone.git
 cd aufs5-standalone
-git checkout -b ${BRANCH} origin/${BRANCH}
+git checkout -b ${BRANCH} origin/${BRANCH} || git switch ${BRANCH}
 git pull
 cat aufs5-kbuild.patch aufs5-base.patch aufs5-mmap.patch aufs5-standalone.patch > ../kernel-aufs5.patch
 rm -rf linux && mkdir linux
This page took 0.03109 seconds and 4 git commands to generate.