diff options
author | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-07 19:51:31 +0000 |
---|---|---|
committer | rhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58> | 2007-04-07 19:51:31 +0000 |
commit | 9d57fffa0170088085f0552afa244bca3f9136b7 (patch) | |
tree | 50c3501e8a3df9e4a28137bc5db32960da31d3d2 /trunk/src | |
parent | ec39a8ff96b6d71e767f5d356ceaeb6bcce7ab02 (diff) | |
download | simplepkg-9d57fffa0170088085f0552afa244bca3f9136b7.tar.gz simplepkg-9d57fffa0170088085f0552afa244bca3f9136b7.tar.bz2 |
see doc/CHANGELOG for details
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@317 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-x | trunk/src/mkjail | 8 | ||||
-rwxr-xr-x | trunk/src/repos | 7 |
2 files changed, 11 insertions, 4 deletions
diff --git a/trunk/src/mkjail b/trunk/src/mkjail index 43669e1..f6c935c 100755 --- a/trunk/src/mkjail +++ b/trunk/src/mkjail @@ -61,9 +61,11 @@ function jailist_update { # update the jail list file # usage: jailist_update <jail-path> - touch $JAIL_LIST - if ! grep -q -e "^$1\$" $JAIL_LIST; then - echo $1 >> $JAIL_LIST + if [ "$ADD_TO_JAIL_LIST" == "1" ]; then + touch $JAIL_LIST + if ! grep -q -e "^$1\$" $JAIL_LIST; then + echo $1 >> $JAIL_LIST + fi fi } 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 } |