source cant use variables (p4)

This commit is contained in:
6543
2018-05-07 01:49:19 +02:00
parent 80d8a9bedf
commit 6616478014
19 changed files with 22 additions and 41 deletions

View File

@ -1,7 +1,6 @@
#!/bin/bash
#remaster lib
[ -d "$LIBDIR"] || export LIBDIR="/usr/lib/remaster/"
[ -d "$LIBDIR"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
####################################
##### Base Template D E B I A N ####
####################################

View File

@ -1,10 +1,9 @@
#!/bin/bash
#remaster lib
[ -d "$LIBDIR"] || export LIBDIR="/usr/lib/remaster/"
[ -d "$LIBDIR"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
#desinfect.17
# . -Y ubuntu.16.04 -> ubuntu -> debian
source $LIBDIR/proj/ubuntu.16.04
source <LIBDIR>/proj/ubuntu.16.04
TEST2="na"

View File

@ -1,12 +1,11 @@
#!/bin/bash
#remaster lib
[ -d "$LIBDIR"] || export LIBDIR="/usr/lib/remaster/"
[ -d "$LIBDIR"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
####################################
##### Base Template U B U N T U ####
####################################
# . -> debian
source $LIBDIR/proj/debian
source <LIBDIR>/proj/debian
TEST2="jaUb"

View File

@ -1,10 +1,9 @@
#!/bin/bash
#remaster lib
[ -d "$LIBDIR"] || export LIBDIR="/usr/lib/remaster/"
[ -d "$LIBDIR"] || { echo "LIBDIR not exist"; exit 1; }
[ -d "<LIBDIR>"] || { echo "LIBDIR not exist"; exit 1; }
#ubuntu.16.04
# . -> ubuntu -> debian
source $LIBDIR/proj/ubuntu
source <LIBDIR>/proj/ubuntu
TEST2="jaUBU"