#!/bin/bash

if [ "$1" == "" ]; then
    echo "Usage: $0 <dir>"
    exit 1
fi
cd $1
rc=$?
if [ "$rc" != "0" ]; then
    exit 1
fi

pwd

