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
8# -- For more detail,please refer to file AboutTest.8# -- For more detail,please refer to file AboutTest.
9#9#
10#brief:10#brief:
11# -- Usage: ./run_SafeDelere.sh $DeleteItermPath11# -- Usage: ./run_SafeDelete.sh $DeleteItermPath
12# eg: 1 ./run_SafeDelere.sh tempdata.info --->delete only one file12# eg: 1 ./run_SafeDelete.sh tempdata.info --->delete only one file
13# eg: 2 ./run_SafeDelere.sh ../TempDataFolder --->delete entire folder13# eg: 2 ./run_SafeDelete.sh ../TempDataFolder --->delete entire folder
14# ./run_SafeDelere.sh /opt/TempData/ABC --->delete entire folder ABC14# ./run_SafeDelete.sh /opt/TempData/ABC --->delete entire folder ABC
15#15#
16# date: 10/06/2014 Created16# date: 10/06/2014 Created
17#*******************************************************************************17#*******************************************************************************
@@ -148,7 +148,7 @@ runUserNameCheck() · 130 unmodified lines
148 echo ""148 echo ""
149 echo "*********************************************"149 echo "*********************************************"
150 echo "delete files under root is not allowed"150 echo "delete files under root is not allowed"
151 echo "detected by run_SafeDelere.sh"151 echo "detected by run_SafeDelete.sh"
152 return 1152 return 1
153 else153 else
154 echo ""154 echo ""
@@ -177,7 +177,7 @@ runFolderLocationCheck() · 22 unmodified lines
177 echo "*********************************************"177 echo "*********************************************"
178 echo "FileDepth is $FileDirDepth, and it is less thab the minimum depth(5)"178 echo "FileDepth is $FileDirDepth, and it is less thab the minimum depth(5)"
179 echo "unsafe delete! try to delete non-project related files: $FileDir"179 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"
181 return 1181 return 1
182 fi182 fi
183 183
@@ -190,7 +190,7 @@ runSafeDelete() · 6 unmodified lines
190 #parameter check!190 #parameter check!
191 if [ ! $# -eq 1 ]191 if [ ! $# -eq 1 ]
192 then192 then
193 echo "usage runSafeDelete \FileFullPath"193 echo "usage runSafeDelete \$FileFullPath"
194 return 1194 return 1
195 fi195 fi
196 196
@@ -215,8 +215,8 @@ runSafeDelete() · 18 unmodified lines
215 then215 then
216 FullPath=`runGetFileFullPath ${PathInfo} `216 FullPath=`runGetFileFullPath ${PathInfo} `
217 else217 else
218 echo "delete iterm does not exist"218 echo "delete item does not exist"
219 echo "detected by run_SafeDelere.sh"219 echo "detected by run_SafeDelete.sh"
220 return 1220 return 1
221 fi221 fi
222 222

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