Commits

Uelsk8s committed 5ae690d

fixed module dir copy VL-ISO-STD

  • Participants
  • Parent commits 9a28112

Comments (0)

Files changed (2)

File var/vabs/VL-ISO-LIGHT/src/modules

 	mod=$(find /lib/modules/$ver/ -name $i)
 	dir="lib/modules/$ver/kernel/drivers"
 	if [ $mod ];then
-		cp $mod $dir
+		cp -r $mod $dir
 		echo "copied $mod to $dir"
 	else
 		echo "$i not found in $ver"

File var/vabs/VL-ISO-STD/src/modules

 	mod=$(find /lib/modules/$ver/ -name $i)
 	dir="lib/modules/$ver/kernel/drivers"
 	if [ $mod ];then
-		cp $mod $dir
+		cp -r $mod $dir
 		echo "copied $mod to $dir"
 	else
 		echo "$i not found in $ver"