From e92c045bb64f2329aaf49337e9f0fda84ac88557 Mon Sep 17 00:00:00 2001 From: rhatto Date: Thu, 26 Jul 2007 19:12:32 +0000 Subject: fixed REPOS/MAKEPKG_REPOS issue on createpkg git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@408 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/createpkg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'trunk/src') diff --git a/trunk/src/createpkg b/trunk/src/createpkg index 069c771..80fff8f 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -145,7 +145,11 @@ function check_config { # check the configuration TMP=${TMP:=/tmp}; - REPOS=${REPOS:=$MAKEPKG_REPOS}; + if [ ! -z "$REPOS" ]; then + MAKEPKG_REPOS="$REPOS" + else + REPOS=$MAKEPKG_REPOS + fi # Create $TMP and $REPOS if need [ ! -e $TMP ] && mkdir -p $TMP [ ! -e $REPOS ] && mkdir -p $REPOS -- cgit v1.2.3