diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2016-05-13 11:44:51 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-06-01 14:56:56 +0200 |
commit | bda3d67511a9b58cdd9ff704360b47622cf41dc8 (patch) | |
tree | 1410a0ec780619875afd6d5ea78edc0d214ba685 /autogen.sh | |
parent | 09c052a8b4dcaa96fe5e6c28b12ce24729e827a4 (diff) |
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>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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." |