# Copyright (c) 1991 The Regents of the University of California.
# This code is derived from software contributed to Berkeley by
# %sccs.include.redist.sh%
# @(#)pushd 5.1 (Berkeley) %G%
# pushd, popd, and dirs --- written by Chris Bertin
# Pixel Computer Inc. ...!wjh12!pixel!pixutl!chris
# as modified by Patrick Elam of GTRI and Kenneth Almquist at UW
then if [ "$DSTACK" = "" ]
then echo "pushd: directory stack empty."
else cd $1 > /dev/null || return
then echo "popd: directory stack empty."