* gen-all-wrapfs-patches.sh: script to generate all wrapfs patches
authorezk <ezk>
Tue, 17 Dec 2019 04:58:43 +0000 (04:58 +0000)
committerezk <ezk>
Tue, 17 Dec 2019 04:58:43 +0000 (04:58 +0000)
for FTP site.

* update-copyright.sh: wrapfs copyright updating script.

ChangeLog
gen-all-wrapfs-patches.sh [new file with mode: 0755]
update-copyright.sh [new file with mode: 0755]

index 434b9adee07aa367787c535883db20b4c5448a10..496de3d16fca4621b1fddd0a4260e7f480b6f38d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2019-12-16  Erez Zadok  <ezk@fsl.cs.sunysb.edu>
 
+       * gen-all-wrapfs-patches.sh: script to generate all wrapfs patches
+          for FTP site.
+
+       * update-copyright.sh: wrapfs copyright updating script.
+
        * git-push2.sh: don't force push.  Bad idea.
 
        * update-stable.sh: support wrapfs-latest repo.
diff --git a/gen-all-wrapfs-patches.sh b/gen-all-wrapfs-patches.sh
new file mode 100755 (executable)
index 0000000..0f4bc1a
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+mkdir -p tmp
+TMP=$PWD/tmp
+for i in $HOME/U/wrapfs-*
+do
+    test -d $i || continue
+    echo $i
+    cd $i
+    git diff master wrapfs > $TMP/wrapfs-`git describe`.diff
+done
diff --git a/update-copyright.sh b/update-copyright.sh
new file mode 100755 (executable)
index 0000000..86982a4
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+fs=wrapfs
+newyear=2020
+oldyear=2019
+xsed "s/1998-$oldyear/1998-$newyear/g" fs/$fs/*.[hc]
+xsed "s/2003-$oldyear/2003-$newyear/g" fs/$fs/*.[hc]