symlink script for 3d shapes now takes athe target folder as argument
This commit is contained in:
parent
46631e8e8b
commit
b267754d0d
@ -1,8 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
echo "Enter the path to the packages3d folder. This script will symlink all 3d models into this folder"
|
if [ -z $1 ]; then
|
||||||
echo -n "Path: "
|
echo "Enter the path to the packages3d folder. This script will symlink all 3d models into this folder"
|
||||||
read packagedir
|
echo -n "Path: "
|
||||||
|
read packagedir
|
||||||
|
else
|
||||||
|
packagedir="$1"
|
||||||
|
fi
|
||||||
|
|
||||||
shimattadir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
shimattadir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
cd $packagedir
|
cd $packagedir
|
||||||
|
Loading…
Reference in New Issue
Block a user