debug lines fix
authorLisa Marie Maginnis <lisam@fsf.org>
Wed, 20 Jul 2016 18:43:10 +0000 (14:43 -0400)
committerLisa Marie Maginnis <lisam@fsf.org>
Wed, 20 Jul 2016 18:43:10 +0000 (14:43 -0400)
edward.git/post-update

index 8e5b5f6972a2f3f36fc5e3af8cc02d6c479a7ed5..5c1d3a596f1f6203404904a516f77db6182ed481 100755 (executable)
@@ -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