termux-api.c: rand() -> arc4random()
[termux-packages] / packages / termux-api / termux-camera-photo
index 08f4451..bdb27a5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/system/bin/sh
+#!/bin/sh
 
 set -e -u
 
@@ -28,4 +28,4 @@ if [ $# != 1 ]; then show_usage; exit 1; fi
 touch $1
 PARAMS="$PARAMS --es file `realpath $1`"
 
-termux-api CameraPhoto $PARAMS
+@TERMUX_API@ CameraPhoto $PARAMS