mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Plugin script failed because it was trying to gzip -dc ${TARGETDIR}${FILENAME},
This was missing a / between the directory and the filename, so it was trying to uncompress: /opt/logstash/logstash-1.4.0.beta1/vendor/logstashlogstash-contrib-1.4.0.beta1.tar.gz Changed to uncompress ${TARGET}, which is defined as: ${TARGETDIR}/${FILENAME}
This commit is contained in:
parent
0ba3cc2eb3
commit
040ae9f6a2
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ case $1 in
|
|||
echo "Exiting."
|
||||
exit 1
|
||||
fi
|
||||
gzip -dc ${TARGETDIR}${FILENAME} | tar -xC $TARGETDIR
|
||||
gzip -dc ${TARGET} | tar -xC $TARGETDIR
|
||||
cp -R ${TARGETDIR}/$FILEPATH/* . ;; # Copy contents to local directory, adding on top of existing install
|
||||
*)
|
||||
echo "Usage: bin/plugin install contrib"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue