aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trunk/doc/CHANGELOG16
-rw-r--r--trunk/lib/common.sh10
-rwxr-xr-xtrunk/simplepkg.SlackBuild2
3 files changed, 8 insertions, 20 deletions
diff --git a/trunk/doc/CHANGELOG b/trunk/doc/CHANGELOG
index 438e183..e1fbb6f 100644
--- a/trunk/doc/CHANGELOG
+++ b/trunk/doc/CHANGELOG
@@ -1,20 +1,10 @@
simplepkg changelog
===================
-0.5pre11
-========
+0.5pre9 - 0.5pre12
+==================
- - bugfix
-
-0.5pre10
-========
-
- - bugfix
-
-0.5pre9
-=======
-
- - bugfixes
+ - bugfix releases
0.5pre8
=======
diff --git a/trunk/lib/common.sh b/trunk/lib/common.sh
index e54ba95..6d1a5ab 100644
--- a/trunk/lib/common.sh
+++ b/trunk/lib/common.sh
@@ -589,8 +589,8 @@ function gen_patches_filelist {
# generate FILE_LIST
# usage: gen_patches_filelist <folder>
- if [ ! -z "$1" ]; then
- mkdir -p $1
+ if [ ! -z "$1" ] && [ -d "$1" ]; then
+
cwd="`pwd`"
cd $1
for file in `find | grep -e ".tgz$"`; do ls -l $file; done > FILE_LIST
@@ -611,9 +611,8 @@ function gen_packages_txt {
# generate PACKAGES.TXT
# usage: gen_packages_txt <folder>
- if [ ! -z "$1" ]; then
+ if [ ! -z "$1" ] && [ -d "$1" ]; then
- mkdir -p $1
cwd="`pwd`"
cd $1
@@ -637,9 +636,8 @@ function gen_md5_checksums {
# generate CHECKSUMS.md5
# usage: gen_md5_checksums <folder>
- if [ ! -z "$1" ]; then
+ if [ ! -z "$1" ] && [ -d "$1" ]; then
- mkdir -p $1
cwd="`pwd`"
cd $1
diff --git a/trunk/simplepkg.SlackBuild b/trunk/simplepkg.SlackBuild
index edd11fa..7c36c71 100755
--- a/trunk/simplepkg.SlackBuild
+++ b/trunk/simplepkg.SlackBuild
@@ -6,7 +6,7 @@
PACKAGE="simplepkg"
PACK_DIR="package-$PACKAGE"
BUILD=${BUILD:=1rha}
-VERSION="0.5pre11"
+VERSION="0.5pre12"
ARCH="noarch"
LIBEXEC="/usr/libexec/$PACKAGE"
BINDIR="/usr/bin"