You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/bash
# Ensure the script exits if any command fails
set -e
# Check if the correct number of arguments is provided
if [ "$#" -lt 2 ]; then
echo "usage:./pnc_map file <file>"
echo "file: mat file"
exit 1
fi
# 重定向应用运行目录
CURRENT_DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd -P)"
cd ${CURRENT_DIR}
echo "current dir is ${CURRENT_DIR}."
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: