#!/bin/sh old_pwd=$PWD cd /var/www/html git pull export PWD=old_pwd