Skip to content

Commit

Permalink
When copying from cache only use "cp" as macOS lacks -up
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghabry committed Dec 21, 2024
1 parent a4136ef commit 989325b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function download {
# Try cache folder first
if [ "x$EASYRPG_PATH_DOWNLOADCACHE" != "x" ]; then
if [ -e $EASYRPG_PATH_DOWNLOADCACHE/$file ]; then
cp -rup $EASYRPG_PATH_DOWNLOADCACHE/$file $file
cp $EASYRPG_PATH_DOWNLOADCACHE/$file $file
echo "[copied from cache]"
return
fi
Expand Down

0 comments on commit 989325b

Please sign in to comment.