History

Fix a number of typos in run_SafeDelete.sh

Martin Storsjö committed 11 years ago

Commit ee5896e1 parent 9692f6c1 file · +9 −9Browse files

Showing the changes to test/encoder_binary_comparison/Scripts (1 of 1 file). Show all

Unified · Split

test/encoder_binary_comparison/Scripts/run_SafeDelete.sh+9−9
@@ -8,10 +8,10 @@ · 7 unmodified lines
88 # -- For more detail,please refer to file AboutTest.
99 #
1010 #brief:
11−# -- Usage: ./run_SafeDelere.sh $DeleteItermPath
12−# eg: 1 ./run_SafeDelere.sh tempdata.info --->delete only one file
13−# eg: 2 ./run_SafeDelere.sh ../TempDataFolder --->delete entire folder
14−# ./run_SafeDelere.sh /opt/TempData/ABC --->delete entire folder ABC
11+# -- Usage: ./run_SafeDelete.sh $DeleteItermPath
12+# eg: 1 ./run_SafeDelete.sh tempdata.info --->delete only one file
13+# eg: 2 ./run_SafeDelete.sh ../TempDataFolder --->delete entire folder
14+# ./run_SafeDelete.sh /opt/TempData/ABC --->delete entire folder ABC
1515 #
1616 # date: 10/06/2014 Created
1717 #*******************************************************************************
@@ -148,7 +148,7 @@ runUserNameCheck() · 130 unmodified lines
148148 echo ""
149149 echo "*********************************************"
150150 echo "delete files under root is not allowed"
151− echo "detected by run_SafeDelere.sh"
151+ echo "detected by run_SafeDelete.sh"
152152 return 1
153153 else
154154 echo ""
@@ -177,7 +177,7 @@ runFolderLocationCheck() · 22 unmodified lines
177177 echo "*********************************************"
178178 echo "FileDepth is $FileDirDepth, and it is less thab the minimum depth(5)"
179179 echo "unsafe delete! try to delete non-project related files: $FileDir"
180− echo "detected by run_SafeDelere.sh"
180+ echo "detected by run_SafeDelete.sh"
181181 return 1
182182 fi
183183
@@ -190,7 +190,7 @@ runSafeDelete() · 6 unmodified lines
190190 #parameter check!
191191 if [ ! $# -eq 1 ]
192192 then
193− echo "usage runSafeDelete \FileFullPath"
193+ echo "usage runSafeDelete \$FileFullPath"
194194 return 1
195195 fi
196196
@@ -215,8 +215,8 @@ runSafeDelete() · 18 unmodified lines
215215 then
216216 FullPath=`runGetFileFullPath ${PathInfo} `
217217 else
218− echo "delete iterm does not exist"
219− echo "detected by run_SafeDelere.sh"
218+ echo "delete item does not exist"
219+ echo "detected by run_SafeDelete.sh"
220220 return 1
221221 fi
222222

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t