dk: bug avec update-devel
This commit is contained in:
parent
037cb1a9e2
commit
d1d32de841
6
dk
6
dk
|
@ -765,7 +765,9 @@ function build_update_apps() {
|
|||
fi
|
||||
|
||||
DEVEL_SRCDIR="${var}_DEVEL_SRCDIR"; DEVEL_SRCDIR="${!DEVEL_SRCDIR}"
|
||||
[ -n "$DEVEL_SRCDIR" ] || DEVEL_SRCDIR="$DEFAULT_DEVEL_SRCDIR/${URL##*/}"
|
||||
if [ -z "$DEVEL_SRCDIR" -a -n "$URL" ]; then
|
||||
DEVEL_SRCDIR="$DEFAULT_DEVEL_SRCDIR/${URL##*/}"
|
||||
fi
|
||||
|
||||
DEST="${var}_DEST"; DEST="${!DEST}"
|
||||
[ -n "$DEST" ] || DEST="$app/b"
|
||||
|
@ -792,7 +794,7 @@ function build_update_apps() {
|
|||
# calculer le type maintenant, on en a besoin pour le mode devel
|
||||
TYPE="${var}_TYPE"; TYPE="${!TYPE}"
|
||||
|
||||
if [ -n "$BUILD_UPDATE_DEVEL" ]; then
|
||||
if [ -n "$BUILD_UPDATE_DEVEL" -a -n "$DEVEL_SRCDIR" ]; then
|
||||
mkdir -p "$DEST" || { eend; return 1; }
|
||||
DEST="$DEST/$NAME"
|
||||
|
||||
|
|
Loading…
Reference in New Issue