mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-19 21:42:59 +03:00
use full path in rm
This commit is contained in:
parent
d674a42a10
commit
5edbe52eb0
@ -14,7 +14,7 @@ check_dir()
|
|||||||
ccp()
|
ccp()
|
||||||
{
|
{
|
||||||
local F=$(basename $1)
|
local F=$(basename $1)
|
||||||
[ -f "$2/$F" ] && rm -f "$2/$F"
|
[ -f "$EXEDIR/$2/$F" ] && rm -f "$EXEDIR/$2/$F"
|
||||||
ln -fs "../$BINS/$1" "$EXEDIR/$2" && echo linking : "../$BINS/$1" =\> "$EXEDIR/$2"
|
ln -fs "../$BINS/$1" "$EXEDIR/$2" && echo linking : "../$BINS/$1" =\> "$EXEDIR/$2"
|
||||||
#cp -f "$BINDIR/$1" "$EXEDIR/$2" && echo copying : "$BINDIR/$1" =\> "$EXEDIR/$2"
|
#cp -f "$BINDIR/$1" "$EXEDIR/$2" && echo copying : "$BINDIR/$1" =\> "$EXEDIR/$2"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user