diff --git a/operator/AddCustomSample/FrameworkLaunch/AddCustom/build.sh b/operator/AddCustomSample/FrameworkLaunch/AddCustom/build.sh index 4be96d7d8b99f0dd4b8052a16d17afe9c809fb54..857de56d5dd310b126e8f280df68a8c9fc6925e6 100755 --- a/operator/AddCustomSample/FrameworkLaunch/AddCustom/build.sh +++ b/operator/AddCustomSample/FrameworkLaunch/AddCustom/build.sh @@ -17,16 +17,16 @@ fi target=package if [ "$1"x != ""x ]; then target=$1; fi -cmake --build . --target $target -j16 +cmake --build .. --target $target -j16 if [ $? -ne 0 ]; then exit 1; fi if [ $target = "package" ]; then - if test -d ./op_kernel/binary ; then + if test -d ../op_kernel/binary ; then ./cust*.run if [ $? -ne 0 ]; then exit 1; fi - cmake --build . --target binary -j16 + cmake --build .. --target binary -j16 if [ $? -ne 0 ]; then exit 1; fi - cmake --build . --target $target -j16 + cmake --build .. --target $target -j16 fi fi