btrfs-progs: autogen: Avoid chdir fail on dirname with blank

If source put in dir with blanks, as:
  /var/lib/jenkins/workspace/btrfs progs

autogen will failed:
./autogen.sh: line 95: cd: /var/lib/jenkins/workspace/btrfs: No such file or directory

Can be fixed by adding quotes into cd command.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Zhao Lei 2016-05-13 11:44:51 +08:00 committed by David Sterba
parent 09c052a8b4
commit bda3d67511
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ find_autofile config.guess
find_autofile config.sub
find_autofile install-sh
cd $THEDIR
cd "$THEDIR"
echo
echo "Now type '$srcdir/configure' and 'make' to compile."