diff options
Diffstat (limited to 'branches/0.6/lib/common.sh')
-rw-r--r-- | branches/0.6/lib/common.sh | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/branches/0.6/lib/common.sh b/branches/0.6/lib/common.sh index e4ff2ff..4e18dfa 100644 --- a/branches/0.6/lib/common.sh +++ b/branches/0.6/lib/common.sh @@ -259,11 +259,16 @@ function eval_config { # ---------------------------------------------------------------- # createpkg and mkbuild section - SLACKBUILDS_DIR="`eval_parameter SLACKBUILDS_DIR /var/slackbuilds`" - MAKEPKG_REPOS="`eval_parameter MAKEPKG_REPOS /var/simplaret/binaries`" - SOURCE_DIR="`eval_parameter SOURCE_DIR /var/sources`" - REMOVE_OLD_PACKAGE="`eval_boolean_parameter REMOVE_OLD_PACKAGE 1`" - MOVE_BIN_PACKAGE="`eval_boolean_parameter MOVE_BIN_PACKAGE 1`" + #MAKEPKG_REPOS="`eval_parameter MAKEPKG_REPOS /var/simplaret/repos`" + #SOURCE_DIR="`eval_parameter SOURCE_DIR /var/simplaret/sources`" + #SLACKBUILDS_DIR="`eval_parameter SLACKBUILDS_DIR /var/simplaret/slackbuilds`" + + #COLOR_MODE="`eval_parameter COLOR_MODE none`" + #CREATE_ARCH="`eval_parameter CREATE_ARCH i486`" + #CREATE_CLEANUP="`eval_parameter CREATE_CLEANUP 'yes'`" + + #REMOVE_OLD_PACKAGE="`eval_parameter REMOVE_OLD_PACKAGE off`" + #MOVE_BIN_PACKAGE="`eval_parameter MOVE_BIN_PACKAGE off`" # ---------------------------------------------------------------- else @@ -581,13 +586,11 @@ function svn_add_meta { } function gen_filelist { - # generate FILELIST.TXT - # usage: gen_filelist <folder> - - local cwd + # usage: gen_filelist - for file in `find | grep -e ".tgz$"`; do ls -l $file; done > FILELIST.TXT + find . -type f -name *.tgz -follow -print | sort | tr '\n' '\0' | \ + xargs -0r ls -ldL --time-style=long-iso > FILELIST.TXT echo "Created new FILELIST.TXT" } |