path: root/userspace/scripts
diff options
authorBart De Schuymer <>2005-08-27 13:43:58 +0000
committerBart De Schuymer <>2005-08-27 13:43:58 +0000
commit18c9320b039c6fc2afb4ca94e6aad2e3a7f96634 (patch)
treea4330a85f4228565a3020a3857ece0778bf58e39 /userspace/scripts
parent157e0eaabd6ff0455dee6daeb566526ef7cf706c (diff)
*** empty log message ***
Diffstat (limited to 'userspace/scripts')
2 files changed, 34 insertions, 0 deletions
diff --git a/userspace/scripts/diffUser b/userspace/scripts/diffUser
new file mode 100755
index 0000000..e2a643c
--- /dev/null
+++ b/userspace/scripts/diffUser
@@ -0,0 +1,13 @@
+#This needs to be executed from within the work version
+regexp="find $currdir -name \"*.c\";"
+regexp=$regexp"find $currdir -name \"*.h\";find $currdir -name \"Makefile\";"
+regexp=$regexp"find $currdir -name \"ethertypes\";find $currdir -name \"ChangeLog\";"
+regexp=$regexp"find $currdir -name \"COPYING\";find $currdir -name \"INSTALL\";"
+regexp=$regexp"find $currdir -name \"THANKS\";find $currdir -name \"perf_test\" -type f;"
+for a in `eval $regexp`
+ diff -purN $olddir/$a $currdir/$a
+done \ No newline at end of file
diff --git a/userspace/scripts/mvUser b/userspace/scripts/mvUser
new file mode 100755
index 0000000..7b3f814
--- /dev/null
+++ b/userspace/scripts/mvUser
@@ -0,0 +1,21 @@
+#This needs to be executed from within the destination directory
+cd $olddir
+regexp="find . -name \"*.c\";"
+regexp=$regexp"find . -name \"*.h\";find . -name \"Makefile\";"
+regexp=$regexp"find . -name \"ethertypes\";find . -name \"ChangeLog\";"
+regexp=$regexp"find . -name \"COPYING\";find . -name \"INSTALL\";"
+regexp=$regexp"find . -name \"THANKS\";find . -name \"perf_test\" -type f;"
+cd - > /dev/null
+mkdir -p $currdir/include
+mkdir -p $currdir/examples/perf_test
+mkdir -p $currdir/examples/ulog
+mkdir -p $currdir/extensions
+cd $olddir
+for a in `eval $regexp`
+ install -m 0644 -o $USER -g $USER $olddir/$a $currdir/$a
+cd - > /dev/null