Page MenuHomeFreeBSD

D53942.id167194.diff
No OneTemporary

D53942.id167194.diff

diff --git a/tools/tools/git/git-arc.sh b/tools/tools/git/git-arc.sh
--- a/tools/tools/git/git-arc.sh
+++ b/tools/tools/git/git-arc.sh
@@ -171,6 +171,20 @@
test "$(git config --bool --get $1 2>/dev/null || echo $2)" != "false"
}
+#
+# Invoke the actual arc command. This allows us to only rely on the
+# devel/arcanist-lib port, which installs the actual script, rather than
+# the devel/arcanist-port, which installs a symlink in ${LOCALBASE}/bin
+# but conflicts with the archivers/arc port.
+#
+: ${LOCALBASE:=$(sysctl -n user.localbase)}
+: ${LOCALBASE:=/usr/local}
+: ${ARC_CMD:=${LOCALBASE}/lib/php/arcanist/bin/arc}
+arc()
+{
+ ${ARC_CMD} "$@"
+}
+
#
# Filter the output of call-conduit to remove the warnings that are generated
# for some installations where openssl module is mysteriously installed twice so

File Metadata

Mime Type
text/plain
Expires
Sun, Jul 5, 3:41 AM (28 m, 18 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34689182
Default Alt Text
D53942.id167194.diff (833 B)

Event Timeline