mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-10 06:03:47 -05:00
minor debug update
This commit is contained in:
@@ -116,7 +116,7 @@ function newCopy() {
|
|||||||
if [ "${scriptName}" = "SyncTemplate.sh" ]; then
|
if [ "${scriptName}" = "SyncTemplate.sh" ]; then
|
||||||
input "name your new script:"
|
input "name your new script:"
|
||||||
read newname
|
read newname
|
||||||
debug "Copying SyncTemplate.sh to ${newname}"
|
verbose "Copying SyncTemplate.sh to ${newname}"
|
||||||
cp "${scriptPath}"/"${scriptName}" "${scriptPath}"/"${newname}" && verbose "cp ${scriptPath}/${scriptName} ${scriptPath}/${newname}"
|
cp "${scriptPath}"/"${scriptName}" "${scriptPath}"/"${newname}" && verbose "cp ${scriptPath}/${scriptName} ${scriptPath}/${newname}"
|
||||||
success "${newname} created."
|
success "${newname} created."
|
||||||
safeExit
|
safeExit
|
||||||
|
|||||||
Reference in New Issue
Block a user