projects
/
platform
/
upstream
/
bash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported from ../bash-1.14.7.tar.gz.
[platform/upstream/bash.git]
/
support
/
srcdir
1
#! /bin/sh
2
#
3
# srcdir - print out the absolute pathname of the top of the bash source
4
# tree. Used for getting the right value to makes in subdirectories
5
#
6
7
case "$1" in
8
'.'|./) pwd ;;
9
./*|..*) echo `pwd`/"$1" ;;
10
*) echo "$1" ;;
11
esac
12
13
exit 0