emsApplication/applications/WebConfigure/cgiCommon/m.sh

18 lines
267 B
Bash

#!/bin/sh
if [ -f "main.o" ]; then
echo "renew compiled files..."
rm -f main.o
fi
echo "Compiling..."
make -f Makefile
sleep 1
#echo "Coping..."
#arm-linux-gnueabihf-strip commonAction
cp commonAction /var/www/cgi-bin/
echo "Finish compiling and copyed"