SIMPLARET_PURGE_WEEKS="3"
# Where patches are placed
-PATCHES_DIR="/var/simplaret/patches"
+PATCHES_DIR="/var/simplepkg/patches"
# Place to store your packages
-STORAGE="/var/simplaret/packages"
+STORAGE="/var/simplepkg/packages"
# Whether to use passive ftp transfers;
# to enable it, set to "1" or "yes"
# MKBUILD AND CREATEPKG SECTION
#---------------------------------------------------------------------
# Set SlackBuilds default directory from scripts
-SLACKBUILDS_DIR="/var/simplaret/slackbuilds"
+SLACKBUILDS_DIR="/var/simplepkg/slackbuilds"
# Set binaries default repository directory
-MAKEPKG_REPOS="/var/simplaret/repos"
+MAKEPKG_REPOS="/var/simplepkg/repos"
# Set sources default directory
-SOURCE_DIR="/var/simplaret/sources"
+SOURCE_DIR="/var/simplepkg/sources"
# Set color style
# possible values are: color,gray, none
function svn_add_meta {
- find *meta -exec svn add {} 2> /dev/null \;
- find . -name *meta -exec svn add {} 2> /dev/null \;
+ find . -name '*meta' -exec svn add {} 2> /dev/null \;
}
# generate FILELIST.TXT
# usage: gen_filelist
- find . -type f -name *.tgz -follow -print | sort | tr '\n' '\0' | \
+ 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"
cwd="`pwd`"
cd $1
- for file in `find | grep -e ".tgz$"`; do ls -l $file; done > FILE_LIST
+ find . -type f -name '*.tgz' -follow -print | sort | tr '\n' '\0' | \
+ xargs -0r ls -ldL --time-style=long-iso > FILE_LIST
cd $cwd
if [ "$1" == "." ]; then