buildx.sh: fix clean option
- fix the use of $mod_dir "build_dir/$mod_dir" was evaluated as "build_dir/ Python-2.7" as variable mod_dir has leading whitespace - fix the path of x11_file_list.txt
This commit is contained in:
parent
2abe16a609
commit
0c6527f226
@ -59,10 +59,8 @@ remove_modules()
|
|||||||
|
|
||||||
while IFS=: read mod_file mod_dir mod_args
|
while IFS=: read mod_file mod_dir mod_args
|
||||||
do
|
do
|
||||||
if [ -d build_dir/$mod_dir ]; then
|
(cd build_dir; [ -d $mod_dir ] && rm -rf $mod_dir)
|
||||||
rm -rf build_dir/$mod_dir
|
done < $data_file
|
||||||
fi
|
|
||||||
done < ../$data_file
|
|
||||||
}
|
}
|
||||||
|
|
||||||
extract_it()
|
extract_it()
|
||||||
|
Loading…
Reference in New Issue
Block a user