fix manager-solution
This commit is contained in:
23
create.sh
Executable file
23
create.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Paths
|
||||
BASE="/home/tommal/Desktop/eclipse_fis"
|
||||
FINALE="$BASE/finale/linux.gtk.x86_64"
|
||||
ECLIPSE_DIR="$FINALE/eclipse"
|
||||
JRE_SRC="$BASE/jre"
|
||||
TARGET="/home/tommal/Desktop/maschera"
|
||||
NEW_NAME="Fiscality"
|
||||
|
||||
# 1. Copy jre directory into eclipse/
|
||||
cp -r "$JRE_SRC" "$ECLIPSE_DIR/"
|
||||
|
||||
# 2. Rename eclipse → Fiscality
|
||||
mv "$ECLIPSE_DIR" "$FINALE/$NEW_NAME"
|
||||
|
||||
# 3. Remove old Fiscality in /maschera if present
|
||||
if [ -d "$TARGET/$NEW_NAME" ]; then
|
||||
rm -rf "$TARGET/$NEW_NAME"
|
||||
fi
|
||||
|
||||
# 4. Copy the new Fiscality directory into /maschera
|
||||
cp -r "$FINALE/$NEW_NAME" "$TARGET/"
|
||||
Reference in New Issue
Block a user