Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/function/find_local_pkgset
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ function find_local_pkgset
else
local HERE=$PWD
T=
while [ \( ! \( -d $TOPFILE \) \) -a \( $PWD != "/" \) ]; do
while [ \( ! \( -d "$TOPFILE" \) \) -a \( "$PWD" != "/" \) ]; do
builtin cd ..
T=`PWD= /bin/pwd`
done
builtin cd $HERE
builtin cd "$HERE"
if [ -d "$T/$TOPFILE" ]; then
echo $T
fi
Expand Down