diff options
Diffstat (limited to 'trunk/src/createpkg')
-rw-r--r-- | trunk/src/createpkg | 6 |
1 files changed, 5 insertions, 1 deletions
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 |