aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-04 18:26:27 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-01-04 18:26:27 +0000
commit0a8ed54f1b642c90610bec760175fa105b7f32fb (patch)
tree452620583265d99ce7e1e1210e8e18b0810f02e8 /trunk/src
parentd2d8c5293d89cc32451f58ee012bd4d8921520b5 (diff)
downloadsimplepkg-0a8ed54f1b642c90610bec760175fa105b7f32fb.tar.gz
simplepkg-0a8ed54f1b642c90610bec760175fa105b7f32fb.tar.bz2
attempting to close #67
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@734 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/mkbuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild
index 229b9cd..1d82db1 100755
--- a/trunk/src/mkbuild
+++ b/trunk/src/mkbuild
@@ -527,10 +527,10 @@ function section_change {
function make_slack_required {
# Build slack-required file
- [ -e slack-required ] && mv slack-required slack-required.old
+ [ -e $WORK/slack-required ] && mv $WORK/slack-required $WORK/slack-required.old
[ -z "$SLACK_REQUIRED" ] && return 0
- echo -e "# Dependency list to $SRC_NAME\n#\n# dependency [condition] [version]]" > slack-required
+ echo -e "# Dependency list to $SRC_NAME\n#\n# dependency [condition] [version]]" > $WORK/slack-required
echo $SLACK_REQUIRED | sed 's/:/\n/g' | while read i; do
REQ=`echo $i | awk '{ print $1 }'`
@@ -1303,7 +1303,7 @@ function make_slackbuild {
make_slack_required
if [ -e slack-required ]; then
- DEPENDENCY_LIST="`cat slack-required | awk '{print $1}' | grep '^[a-z]' | tr '\012' ' '`"
+ DEPENDENCY_LIST="`cat $WORK/slack-required | awk '{print $1}' | grep '^[a-z]' | tr '\012' ' '`"
edit_file "REQUIRES" "$DEPENDENCY_LIST" $SLACKBUILD
else
edit_file "REQUIRES" " " $SLACKBUILD