From ce3ccb19af7a7528ad5cef10c08293ee9958df90 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 19 Mar 2010 12:38:53 +0000 Subject: [PATCH] - disable dropin Changed files: update-source.sh -> 1.12 --- update-source.sh | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/update-source.sh b/update-source.sh index f33aa54..fd085bf 100644 --- a/update-source.sh +++ b/update-source.sh @@ -1,5 +1,6 @@ #!/bin/sh set -e +dropin=0 if [ "$1" ]; then rev=$1 @@ -19,15 +20,17 @@ if [ ! -f chromium-browser64-r$rev.zip ]; then upload_64="chromium-browser64-r$rev.zip" fi -if [ -x ./dropin ]; then - dropin=./dropin -elif [ -x ../dropin ]; then - dropin=../dropin -fi +if [ "$dropin" ]; then + if [ -x ./dropin ]; then + dropin=./dropin + elif [ -x ../dropin ]; then + dropin=../dropin + fi -if [ "$upload_32" -o "$upload_64" ]; then - echo "Uploading to dropin. ^C to abort" - ../dropin $upload_32 $upload_64 + if [ "$upload_32" -o "$upload_64" ]; then + echo "Uploading to dropin. ^C to abort" + ../dropin $upload_32 $upload_64 + fi fi specfile=chromium-browser-bin.spec -- 2.43.0