Просмотр исходного кода

Remove trailing slashes from path names

Kristan Kenney 5 лет назад
Родитель
Сommit
d274be3e38
2 измененных файлов с 6 добавлено и 6 удалено
  1. 3 3
      bin/v-update-sys-hestia-git
  2. 3 3
      src/hst_autocompile.sh

+ 3 - 3
bin/v-update-sys-hestia-git

@@ -50,10 +50,10 @@ download_file() {
 }
 
 # Set compiling directory
-BUILD_DIR='/tmp/hestiacp-src/'
-DEB_DIR="$BUILD_DIR/debs/"
+BUILD_DIR='/tmp/hestiacp-src'
+DEB_DIR="$BUILD_DIR/debs"
 INSTALL_DIR='/usr/local/hestia'
-ARCHIVE_DIR="${BUILD_DIR}/archive/"
+ARCHIVE_DIR="${BUILD_DIR}/archive"
 
 # Set command variables
 branch=$1

+ 3 - 3
src/hst_autocompile.sh

@@ -58,11 +58,11 @@ download_file() {
 }
 
 # Set compiling directory
-BUILD_DIR='/tmp/hestiacp-src/'
-DEB_DIR="$BUILD_DIR/debs/"
+BUILD_DIR='/tmp/hestiacp-src'
+DEB_DIR="$BUILD_DIR/debs"
 INSTALL_DIR='/usr/local/hestia'
 SRC_DIR="$(cd "$(dirname "$0")/.." && pwd)"
-ARCHIVE_DIR="$SRC_DIR/src/archive/"
+ARCHIVE_DIR="$SRC_DIR/src/archive"
 
 # Set command variables
 if [ ! -z "$2" ]; then