From ead33f429a66087313ebe67f55ef6085ddf72303 Mon Sep 17 00:00:00 2001 From: Lisa Marie Maginnis Date: Wed, 20 Jul 2016 14:43:10 -0400 Subject: [PATCH] debug lines fix --- edward.git/post-update | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.25.1