diff options
Diffstat (limited to 'trunk/conf')
-rw-r--r-- | trunk/conf/generic.mkSlackBuild.new | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/trunk/conf/generic.mkSlackBuild.new b/trunk/conf/generic.mkSlackBuild.new index a97c83a..f874433 100644 --- a/trunk/conf/generic.mkSlackBuild.new +++ b/trunk/conf/generic.mkSlackBuild.new @@ -25,7 +25,7 @@ fi <set_variables> all # Set variables -CWD="`pwd`" +CWD="$(pwd)" SRC_NAME="[[SOURCE NAME]]" PKG_NAME="[[PACKAGE NAME]]" ARCH=${ARCH:=[[ARCH]]} @@ -108,11 +108,12 @@ gpg --verify "$SRC_DIR/$SRC.sig" "$SRC_DIR/$SRC" || exit $ERROR_GPG # Untar cd "$SRC_DIR" tar --no-same-owner --no-same-permissions -xvf "$SRC_DIR/$SRC" || exit $ERROR_TAR + +cd "$PKG_SRC" </untar_source> <path_source> off # Patch source -cd "$PKG_SRC" patches="[[PATCH FILES]] $PACKAGE.diff $PACKAGE-$VERSION.diff $PACKAGE-$VERSION-$ARCH.diff $PACKAGE-$ARCH.diff" for patch in $patches; do |