virtual-machines: use a better file structure
parent
977397ad00
commit
0380ea00f3
|
@ -43,9 +43,11 @@ function copyvmfile
|
||||||
set fna $argv[2]
|
set fna $argv[2]
|
||||||
|
|
||||||
set file "$dir/$fna"
|
set file "$dir/$fna"
|
||||||
|
set dirn "virtual-machines/"(basename "$dir")
|
||||||
|
|
||||||
if test -f "$file"
|
if test -f "$file"
|
||||||
cp "$file" virtual-machines/(basename "$dir")-$fna
|
mkdir -p "$dirn"
|
||||||
|
cp "$file" "$dirn/$fna"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -12,9 +12,9 @@ function macemu -d "Frontend to SheepShaver and BasiliskII" -a arch cfg
|
||||||
|
|
||||||
chmod u+w $config
|
chmod u+w $config
|
||||||
|
|
||||||
cat $_agw_dir_rc/virtual-machines/MacEmu-common > $config
|
cat $_agw_dir_rc/virtual-machines/MacEmu/common > $config
|
||||||
cat $_agw_dir_rc/virtual-machines/MacEmu-common-$arch >> $config
|
cat $_agw_dir_rc/virtual-machines/MacEmu/common-$arch >> $config
|
||||||
cat $_agw_dir_rc/virtual-machines/MacEmu-$cfg >> $config
|
cat $_agw_dir_rc/virtual-machines/MacEmu/$cfg >> $config
|
||||||
|
|
||||||
chmod -w $config
|
chmod -w $config
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue