diff options
Diffstat (limited to 'defaults/assets/prepare.sh')
| -rwxr-xr-x | defaults/assets/prepare.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/defaults/assets/prepare.sh b/defaults/assets/prepare.sh index f41dfe7..e09abee 100755 --- a/defaults/assets/prepare.sh +++ b/defaults/assets/prepare.sh @@ -4,7 +4,7 @@ set -x # Enable debugging exec > >(tee -i /tmp/prepare.log) 2>&1 # Log output and errors mod_path="$HOME/fgmod" -# bin_path="$(dirname "$(realpath "$0")")/../bin" +bin_path="$(dirname "$(realpath "$0")")/../bin" assets_path="$(dirname "$(realpath "$0")")" standalone=1 @@ -16,8 +16,8 @@ fi mkdir -p "$mod_path" cd "$mod_path" || exit 1 -# Copy required files from bin directory into the current directory -cp "$assets_path/assets.zip" . +# Copy all files from bin directory into the current directory +cp "$bin_path"/* . # Unzip assets.zip so that all files are in the modpath root, then remove the zip file unzip -j -o assets.zip && rm assets.zip |
