wareck 2 years ago
parent
commit
a15578ded5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      build/build_linux.sh

+ 2 - 2
build/build_linux.sh

@@ -109,8 +109,8 @@ sudo cp /usr/include/CL/cl_version.h /home/wareck/
 echo "/*modded*/" > cl_version_m.h
 echo "#define CL_TARGET_OPENCL_VERSION 220" >> cl_version_m.h
 cat cl_version.h >>cl_version_m.h
-rm cl_version.h
-mv cl_version_m.h cl_version.h
+sudo rm cl_version.h
+sudo mv cl_version_m.h cl_version.h
 sudo cp /home/wareck/cl_version.h /usr/include/CL/cl_version.h
 fi