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:
parent
2d468e62de
commit
3904a8dba0
1
3rdparty/mmu_man/scripts/dev-perso
vendored
1
3rdparty/mmu_man/scripts/dev-perso
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user