소스 검색

Change permissions of images to the current user

Bob Mottram 9 년 전
부모
커밋
0206945fac
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/freedombone-image

+ 1
- 0
src/freedombone-image 파일 보기

@@ -414,6 +414,7 @@ do
414 414
 	no_of_files=$(ls -afq build/${PROJECT_NAME}*.${im} | wc -l)
415 415
 	if (( no_of_files > 0 )); then
416 416
 		mv build/${PROJECT_NAME}*.${im} ${CURR_DIR}/
417
+		sudo chown ${CURR_USER}:${CURR_USER} ${CURR_DIR}/*.${im}
417 418
 	fi
418 419
 done
419 420