enforce default action
This commit is contained in:
parent
dc756ad670
commit
8868a0fc41
|
@ -230,12 +230,11 @@ rm .gitignore
|
||||||
cd ../
|
cd ../
|
||||||
|
|
||||||
|
|
||||||
if [ !-e "$DIRECTORY.orig.tar.gz" ]; then
|
if [ ! -e "$DIRECTORY.orig.tar.gz" ]; then
|
||||||
read -p "$DIRECTORY.orig.tar.gz does not exist, create it? [Y/n]"
|
read -p "$DIRECTORY.orig.tar.gz does not exist, create it? [Y/n]"
|
||||||
if [[ $REPLY == [yY] ]]; then
|
if [[ "$REPLY" == "" || "$REPLY" == [yY] ]]; then
|
||||||
|
tar zcf $DIRECTORY.orig.tar.gz $DIRECTORY.orig
|
||||||
tar zcf $DIRECTORY.orig.tar.gz $DIRECTORY.orig
|
fi;
|
||||||
fi;
|
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
IFS=',' ;for DISTRO in `echo "$DISTROS"`; do
|
IFS=',' ;for DISTRO in `echo "$DISTROS"`; do
|
||||||
|
|
Loading…
Reference in New Issue