From: Lisa Marie Maginnis Date: Wed, 20 Jul 2016 18:43:10 +0000 (-0400) Subject: debug lines fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ead33f429a66087313ebe67f55ef6085ddf72303;p=deploy-hooks.git debug lines fix --- diff --git a/edward.git/post-update b/edward.git/post-update index 8e5b5f6..5c1d3a5 100755 --- a/edward.git/post-update +++ b/edward.git/post-update @@ -52,14 +52,14 @@ echo -n $(date "$date_fmt"); echo " - Remote user: $remote_user" if [ ! -d $local_checkout ]; then echo -n $(date "$date_fmt"); echo " - No local checkout detected, creating now" mkdir -p $local_checkout - git clone $repository $local_checkout &>dev/null + git clone $repository $local_checkout &>/dev/null cd $local_checkout - git checkout $branch &>dev/null + git checkout $branch &>/dev/null else echo -n $(date "$date_fmt"); echo " - Updating local checkout" cd $local_checkout - git checkout $branch &>dev/null - git pull origin $branch &>dev/null + git checkout $branch &>/dev/null + git pull origin $branch &>/dev/null fi echo -n $(date "$date_fmt"); echo " - Packing zip and tarball for package host" @@ -70,7 +70,7 @@ tar czv --exclude-vcs -f $package_name.tar.gz $branch &>/dev/null zip -r $package_name $branch -x "*/.git/*" "*/.gitignore" &>/dev/null echo -n $(date "$date_fmt"); echo " - Pushing to packaging server: https://$package_host/emailselfdefense.fsf.org/edward/" -scp $package_name.zip $package_name.tar.gz $package_user@$package_host:$package_path/ >dev/null +scp $package_name.zip $package_name.tar.gz $package_user@$package_host:$package_path/ >/dev/null # Stop here if not updating a host if [ -z $target_host ]; then