From bda3d67511a9b58cdd9ff704360b47622cf41dc8 Mon Sep 17 00:00:00 2001 From: Zhao Lei Date: Fri, 13 May 2016 11:44:51 +0800 Subject: [PATCH] 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 Signed-off-by: David Sterba --- autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 96698502..8b9a9cbe 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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."