Browse Source

UPD: Refactoring

Alexander Koblov 1 year ago
parent
commit
99b821e879
1 changed files with 1 additions and 4 deletions
  1. 1 4
      install/linux/convert-rpm-txz.sh

+ 1 - 4
install/linux/convert-rpm-txz.sh

@@ -5,9 +5,6 @@
 # Script directory
 SCRIPT_DIR=$(pwd)
 
-# Source directory
-DC_SOURCE_DIR=$SCRIPT_DIR/../..
-
 # The new package will be saved here
 PACK_DIR=$SCRIPT_DIR/release
 
@@ -66,7 +63,7 @@ mv usr/share/doublecmd/highlighters              $DC_ROOT_DIR/
 mv usr/share/pixmaps/doublecmd.png               $DC_ROOT_DIR/
 
 # Copy libraries
-pushd $DC_SOURCE_DIR/install/linux
+pushd $SCRIPT_DIR
 cp -a lib/$CPU_TARGET/*.so*                      $DC_ROOT_DIR/
 cp -a lib/$CPU_TARGET/$LCL_PLATFORM/*.so*        $DC_ROOT_DIR/
 popd