aboutsummaryrefslogtreecommitdiff
path: root/trunk/src/repos
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/repos')
-rwxr-xr-xtrunk/src/repos7
1 files changed, 6 insertions, 1 deletions
diff --git a/trunk/src/repos b/trunk/src/repos
index 95a3936..c37e625 100755
--- a/trunk/src/repos
+++ b/trunk/src/repos
@@ -30,11 +30,16 @@ function svn_add_meta {
function gen_filelist {
+ local cwd
+
for file in `find | grep -e ".tgz$"`; do ls -l $file; done > FILELIST.TXT
echo "Created new FILELIST.TXT"
if [ -d "patches" ]; then
- for file in `find patches | grep -e ".tgz$"`; do ls -l $file; done > patches/FILE_LIST
+ cwd="`pwd`"
+ cd patches
+ for file in `find | grep -e ".tgz$"`; do ls -l $file; done > FILE_LIST
echo "Created new patches/FILE_LIST"
+ cd $pwd
fi
}