• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision4091ebf326afd9c6692382161f57bc668340edca (tree)
Time2012-02-25 22:52:48
Authormatsuand <matsuand@user...>
Commitermatsuand

Log Message

Modified BLFS/install-sshd.sh.

Change Summary

Incremental Difference

--- a/BLFS/install-sshd.sh
+++ b/BLFS/install-sshd.sh
@@ -1,11 +1,5 @@
11 #!/bin/sh
22
3-#----------------------------------------
4-# $Author: matsuyama $
5-# $Rev: 498 $
6-# $Date:: 2012-02-19 21:46:42 +0900#$
7-#----------------------------------------
8-
93 . ./_blfsset.sh
104
115 TARGET=blfs-bootscripts-$BOOTSCRIPTDATE
@@ -15,9 +9,15 @@ SCRIPT=install-sshd
159
1610 cd $SRC
1711
12+echo \ \ Removing old directory...
1813 rm -fr $TARGETDIR
1914
20-tar xf $DLD/$TARGETBALL
15+echo \ \ Extracting...
16+if ! test -f $DLD/$TARGETBALL; then
17+ echo \ \ Tarball not found: $TARGETBALL && exit 1
18+else
19+ tar xf $DLD/$TARGETBALL
20+fi
2121
2222 cd $TARGETDIR
2323