Bob Mottram 9 years ago
parent
commit
2ef92742a5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-image-customise

+ 1
- 1
src/freedombone-image-customise View File

647
 	cp $TEMP_SCRIPT $rootdir/root/
647
 	cp $TEMP_SCRIPT $rootdir/root/
648
 
648
 
649
 	SECONDS=0
649
 	SECONDS=0
650
-	chroot "$rootdir" $TEMP_SCRIPT_NAME
650
+	chroot "$rootdir" /root/$TEMP_SCRIPT_NAME
651
 	if [ ! "$?" = "0" ]; then
651
 	if [ ! "$?" = "0" ]; then
652
 		duration=$SECONDS
652
 		duration=$SECONDS
653
 		echo $"Toxcore compile failed at $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed."
653
 		echo $"Toxcore compile failed at $(($duration / 60)) minutes and $(($duration % 60)) seconds elapsed."