[prev in list] [next in list] [prev in thread] [next in thread]
List: gobolinux-commits
Subject: [gobolinux-commits] tools/Scripts/bin ListProgramFiles
From: Jonas Karlsson <jonka750 () student ! liu ! se>
Date: 2007-08-25 12:10:26
Message-ID: E1IOuTC-0006xC-GG () cvs ! savannah ! gnu ! org
[Download RAW message or body]
CVSROOT: /sources/goboscripts
Module name: tools
Changes by: Jonas Karlsson <mohjive> 07/08/25 12:10:26
Modified files:
Scripts/bin : ListProgramFiles
Log message:
Last regression fix caused regression to not skip SettingsBackup* when not using \
full path. This fixes that.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/tools/Scripts/bin/ListProgramFiles?cvsroot=goboscripts&r1=1.10&r2=1.11
Patches:
Index: ListProgramFiles
===================================================================
RCS file: /sources/goboscripts/tools/Scripts/bin/ListProgramFiles,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- ListProgramFiles 23 Aug 2007 09:16:19 -0000 1.10
+++ ListProgramFiles 25 Aug 2007 12:10:26 -0000 1.11
@@ -40,7 +40,7 @@
if Boolean "path"
then
cd ${programpath%/$program/$version}
- programpath="$program/$version"
+ programpath="$program/$version/"
else
cd ${programpath}
programpath="*"
@@ -48,5 +48,5 @@
find ${programpath} \( -path "CVS" \
-or -path "*/CVS" \
- -or -path "${programpath}/Resources/SettingsBackup*" \) -prune -or $type \
-print + -or -path "${programpath}Resources/SettingsBackup*" \) -prune -or $type \
-print
_______________________________________________
gobolinux-commits mailing list
gobolinux-commits@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic