updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git] / kpscript / kpscript
bloba5aeb980f249dc8f650a1d25a0a43b8737ce8e44
1 #!/bin/bash
2 arguments=("$@")
4 for ((i = 0; i < ${#arguments[@]}; ++i)); do
5 if [ -f "${arguments[$i]}" ] && [[ "${arguments[$i]}" == /* ]]; then
6 arguments[$i]="file://${arguments[$i]}"
7 fi
8 done
10 exec mono /usr/share/keepass/KPScript.exe "${arguments[@]}"