mirror of
https://github.com/wuxx/icesugar.git
synced 2025-12-19 00:36:11 +08:00
Your branch is up to date with 'origin/master'. Changes to be committed: modified: icesprog renamed: icesprog.arm -> icesprog.arm32 new file: icesprog.arm64 modified: src/Makefile modified: src/icesprog
14 lines
328 B
Bash
Executable File
14 lines
328 B
Bash
Executable File
#!/bin/bash
|
|
|
|
CURRENT_DIR=$(cd $(dirname $0); pwd)
|
|
|
|
PLATFORM=$(uname -m)
|
|
|
|
if [ "${PLATFORM}" == "x86_64" ]; then
|
|
sudo ${CURRENT_DIR}/icesprog.x64.linux $@
|
|
elif [ "${PLATFORM}" == "armv7l" ]; then
|
|
sudo ${CURRENT_DIR}/icesprog.arm32 $@
|
|
elif [ "${PLATFORM}" == "aarch64" ]; then
|
|
sudo ${CURRENT_DIR}/icesprog.arm64 $@
|
|
fi
|