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:
parent
09c052a8b4
commit
bda3d67511
|
@ -92,7 +92,7 @@ find_autofile config.guess
|
||||||
find_autofile config.sub
|
find_autofile config.sub
|
||||||
find_autofile install-sh
|
find_autofile install-sh
|
||||||
|
|
||||||
cd $THEDIR
|
cd "$THEDIR"
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "Now type '$srcdir/configure' and 'make' to compile."
|
echo "Now type '$srcdir/configure' and 'make' to compile."
|
||||||
|
|
Loading…
Reference in New Issue