mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 14:25:49 +00:00
zdtm: fix syntax error in zdtm.sh
./zdtm.sh: line 231: local: `lname,': not a valid identifier ./zdtm.sh: line 251: local: `ldir,': not a valid identifier https://bugzilla.openvz.org/show_bug.cgi?id=2763 Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
4b9b7953dd
commit
bd8876d2d1
@@ -228,7 +228,7 @@ construct_root()
|
||||
local libdir=$root/lib
|
||||
local libdir2=$root/lib64
|
||||
local tmpdir=$root/tmp
|
||||
local lname, tname
|
||||
local lname tname
|
||||
|
||||
mkdir -p $root/bin
|
||||
cp $ps_path $root/bin
|
||||
@@ -248,7 +248,7 @@ construct_root()
|
||||
# /lib/ld-linux-armhf.so.3 (0xb6f0b000)
|
||||
|
||||
for i in `ldd $test_path $ps_path | grep -P '^\s' | grep -v vdso | sed "s/.*=> //" | awk '{ print $1 }'`; do
|
||||
local ldir, lib=`basename $i`
|
||||
local ldir lib=`basename $i`
|
||||
|
||||
[ -f $libdir2/$lib ] && continue # fast path
|
||||
|
||||
|
Reference in New Issue
Block a user