aboutsummaryrefslogtreecommitdiff
path: root/libexec/app-resolver-maven
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-04-21 11:10:37 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2013-04-21 14:58:23 +0200
commit079a49eaaa5a6bacca3181671abd8ebb72015fd1 (patch)
treefd956e35d17bf41f173d02613c0c31a350291d89 /libexec/app-resolver-maven
parentc8a9de50c8f7254c61888982ae270bf71c3f8506 (diff)
downloadapp.sh-079a49eaaa5a6bacca3181671abd8ebb72015fd1.tar.gz
app.sh-079a49eaaa5a6bacca3181671abd8ebb72015fd1.tar.bz2
app.sh-079a49eaaa5a6bacca3181671abd8ebb72015fd1.tar.xz
app.sh-079a49eaaa5a6bacca3181671abd8ebb72015fd1.zip
o Allowing the 'app' wrapper to run apps from libexec too.
Diffstat (limited to 'libexec/app-resolver-maven')
-rwxr-xr-xlibexec/app-resolver-maven1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/app-resolver-maven b/libexec/app-resolver-maven
index 7f01992..118223a 100755
--- a/libexec/app-resolver-maven
+++ b/libexec/app-resolver-maven
@@ -175,6 +175,7 @@ download_version() {
echo "Downloading $group_id:$artifact_id:$resolved_version..."
get $r $l
+ rm -f "$target"
ln -s "`pwd`/$l" "$target"
}