diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2006-08-07 07:58:28 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2006-08-07 07:58:28 +0000 |
commit | 1e48ead47ee3aa052ea1d7d267223f0de6c02b2f (patch) | |
tree | 08207c0b8f0a5b28845e738545c9f91d4ee47e0e /shells/osh/pkg-plist | |
parent | d526191223fa50016717515a84de2e8b56a107d2 (diff) | |
download | ports-1e48ead47ee3aa052ea1d7d267223f0de6c02b2f.tar.gz ports-1e48ead47ee3aa052ea1d7d267223f0de6c02b2f.zip |
Notes
Diffstat (limited to 'shells/osh/pkg-plist')
-rw-r--r-- | shells/osh/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shells/osh/pkg-plist b/shells/osh/pkg-plist index 9125442c7601..9dbc744d35e8 100644 --- a/shells/osh/pkg-plist +++ b/shells/osh/pkg-plist @@ -2,5 +2,5 @@ bin/fd2 bin/goto bin/if bin/osh -@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells -@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells +@exec echo "updating ${DESTDIR}/etc/shells"; cp ${DESTDIR}/etc/shells ${DESTDIR}/etc/shells.bak; (grep -v %D/%F ${DESTDIR}/etc/shells.bak; echo %D/%F) >${DESTDIR}/etc/shells +@unexec echo "updating ${DESTDIR}/etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells |