diff --git a/bin/sde-download2 b/bin/sde-download2 index ca918e9..63b932e 100755 --- a/bin/sde-download2 +++ b/bin/sde-download2 @@ -160,9 +160,8 @@ case "$discriminator" in esac | while read pkg cksum file location; do # temporal download location tmpfile="$SDEROOT/tmp/down.$( echo $file | tr '/' '-' )" - - # debug output - + mkdir -p "$SDEROOT/tmp" + [ $? -eq 0 ] || exit -1 if [ -s "$SDEROOT/$file" ]; then :