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
ulab-next-nosound
Koichiro IWAO 11 years ago
parent 2abe16a609
commit 0c6527f226

@ -59,10 +59,8 @@ remove_modules()
while IFS=: read mod_file mod_dir mod_args
do
if [ -d build_dir/$mod_dir ]; then
rm -rf build_dir/$mod_dir
fi
done < ../$data_file
(cd build_dir; [ -d $mod_dir ] && rm -rf $mod_dir)
done < $data_file
}
extract_it()

Loading…
Cancel
Save