From 29f79ad232025e05cac6d036c758a3eb2752f0d2 Mon Sep 17 00:00:00 2001 From: Nahuel Barrios Date: Tue, 10 May 2016 13:01:22 -0300 Subject: [PATCH 1/2] Save download directory because we are moving away --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index e16c2ae..c4b26d4 100644 --- a/install.sh +++ b/install.sh @@ -24,11 +24,11 @@ else log "Detected platform " fi - +CURRENT_DIR="$( cd "$( dirname "$0" )" && pwd )" log "Creating coding directories tree" . ./createDirectoriesTree.sh log "Coding directories tree created ok" - +cd ${CURRENT_DIR} log "Loading properties file..." . ./properties.sh @@ -56,4 +56,4 @@ logInfo "Download JDownloader2 from: http://jdownloader.org/download/index" logInfo "#### Installation of your favorite software has finished ####" logInfo "Thanks for using me! -- Don't forget to fork me on Github: http://github.com/barriosnahuel/efu" logInfo "To see the installation log run the following on the command line: 'tail –f ~/Downloads/efu.log'" -log "[Important] You should also take a look to: '~/Downloads/summary.efu.log'" \ No newline at end of file +log "[Important] You should also take a look to: '~/Downloads/summary.efu.log'" From 7f1b75fa0173b7cf0c4aa3f839cf03ed35b6c937 Mon Sep 17 00:00:00 2001 From: Nahuel Barrios Date: Tue, 10 May 2016 13:04:24 -0300 Subject: [PATCH 2/2] Fix lint error --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c4b26d4..688897a 100644 --- a/install.sh +++ b/install.sh @@ -28,7 +28,7 @@ CURRENT_DIR="$( cd "$( dirname "$0" )" && pwd )" log "Creating coding directories tree" . ./createDirectoriesTree.sh log "Coding directories tree created ok" -cd ${CURRENT_DIR} +cd "${CURRENT_DIR}" log "Loading properties file..." . ./properties.sh