summaryrefslogtreecommitdiffstats
path: root/bin/dojar
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dojar')
-rwxr-xr-xbin/dojar2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/dojar b/bin/dojar
index 8ed9285bb..e61015ef6 100755
--- a/bin/dojar
+++ b/bin/dojar
@@ -40,7 +40,7 @@ for i in $* ; do
bn="$(basename $i)"
if [ -f "$pf" ] ; then
- oldcp=`grep "CLASSPATH=" "$pf" | sed "s/CLASSPATH=//"`
+ oldcp=$(grep "CLASSPATH=" "$pf" | sed "s/CLASSPATH=//")
grep -v "CLASSPATH=" "$pf" > "${pf}.new"
echo "CLASSPATH=${oldcp}:${jardest}${bn}" >> "${pf}.new"
mv "${pf}.new" "$pf"