correction for build script
This commit is contained in:
parent
7a293b459f
commit
dff8df9291
@ -1,17 +1,18 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
counter=0
|
counter=0
|
||||||
|
cfg_script_name="cmake-build-cfg.py"
|
||||||
while [ ${counter} -lt 5 ]
|
while [ ${counter} -lt 5 ]
|
||||||
do
|
do
|
||||||
if [ -f "cmake_build_config.py" ];then
|
if [ -f ${cfg_script_name} ];then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
counter=$((counter=counter + 1))
|
counter=$((counter=counter + 1))
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "${counter}" -ge 5 ];then
|
if [ "${counter}" -ge 5 ];then
|
||||||
echo "create_cmake_cfg.sh not found in upper directories!"
|
echo "${cfg_script_name} not found in upper directories!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build_generator=""
|
build_generator=""
|
||||||
|
Loading…
Reference in New Issue
Block a user