repo.or.cz
/
aur-mirror.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
updated on Tue Jan 17 12:00:36 UTC 2012
[aur-mirror.git]
/
kpscript
/
kpscript
blob
a5aeb980f249dc8f650a1d25a0a43b8737ce8e44
1
#!/bin/bash
2
arguments
=(
"$@"
)
3
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
9
10
exec
mono
/
usr
/
shar
e
/
keepass
/
KPScript.exe
"
${arguments[@]}
"