export the project top level directory as $DEVPROJ.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35878 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2010-03-16 14:52:19 +00:00
parent 2d468e62de
commit 3904a8dba0

View File

@ -89,6 +89,7 @@ function dev() {
mkdir "$DEVROOT/$1" && touch "$DEVROOT/$1/.profile"
# fallback
fi
export DEVPROJ="$1"
if [ ! -d "$DEVROOT/$1" ]; then
echo "invalid project name '$1'"
return 1